IModel.GetRichTextFieldFormats method
Namespace: NextDesign.Core
Description
Gets a list of formats in which the value of the specified rich text field is set.
The order of the list is arbitrary. It also returns a format where the value is an empty string.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or empty string cannot be specified. |
Return value
- IEnumerable<string>
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null or empty string is specified for fieldName |
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 a rich text type |