IModel.GetRichTextFieldCustomData method
Namespace: NextDesign.Core
Description
Gets the custom formatted value of the specified rich text field.
Returns null if the specified format is not found.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name You cannot specify null or an empty string. |
format | string | Custom format name Case insensitive. |
Return value
- string
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 |
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 |