IModel.GetRichTextFieldCustomData method
Namespace: NextDesign.Core
Description
Gets the custom format value for the specified rich text field. Returns null if the specified format is not found.
argument
| Name | Type | Description |
|---|---|---|
| fieldName | string | Field name Null or an empty string cannot be specified. |
| format | string | Custom format name Case insensitive. |
Return value
- string
Exception
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | When fieldName is null or an empty string When format is null or an empty string |
| Field not found | ExtensionFieldNotFoundException | If the specified field is not found in the metaclass of this instance |
| Does not match field type | ExtensionInvalidTypeException | If the data type of the specified field is not rich text type |