IModel.SetRichTextField(string, string, string, string) method
Namespace: NextDesign.Core
Description
Sets a value for the format of the specified rich text field. It also sets a text value for the specified rich text field.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
value | string | field value |
textValue | string | Field text value |
format | string | Format Specify "xaml", "html". It is not case sensitive. |
Return value
- void
Exception
Name | Exception Class | Description |
---|---|---|
Argument invalid | ExtensionArgumentException | When fieldName is null or an empty string is specified When format is null or an empty string is specified When the specified format does not exist |
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 |
Illegal operation | ExtensionInvalidOperationException | If it is a deleted model or temporary proxy If you specify an inoperable field for the field name -Product line feature assignment field -System.Core Fields tagged |