IModel.SetRichTextField(string,string) Method
Namespace: NextDesign.Core
Description
Sets the text value in the specified rich text field.
Arguments
| Name | Type | Description |
|---|---|---|
| fieldName | string | Field name Null or an empty string cannot be specified. |
| value | string | Text value of the field |
Return value
- void
Exceptions
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null or an empty string is specified for fieldName |
| Field not found | ExtensionFieldNotFoundException | If the specified field is not found in the metaclass of this instance |
| Does not match the field type | ExtensionInvalidTypeException | If the data type of the specified field is not rich text type |
| Invalid operation | ExtensionInvalidOperationException | If the model itself is a deleted model or a temporary proxy If an inoperable field is specified for the field name - Feature assignment field of a product line - Field with the System.Core tag If an invalid field is specified |