IModel.SetRichTextField(string,string,string) method
Namespace: NextDesign.Core
Description
Sets the value to format the specified rich text field.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name You cannot specify null or an empty string. |
value | string | Field value |
format | string | Format Specify "text", "xaml", or "html". This is not case sensitive. |
Return value
- void
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null or an empty string is specified for fieldName If null or an empty string is specified for format If the specified format does not exist |
Field not found | ExtensionFieldNotFoundException | If the specified field is not found in this instance's metaclass |
Does not match field type | ExtensionInvalidTypeException | If the data type of the specified field is not RichText |
Illegal operation | ExtensionInvalidOperationException | If the model itself is a deleted model or a temporary proxy If a field that cannot be operated is specified for the field name - Product line feature assignment field - System.Core Tagged Field |