IModel.GetRichTextField method
Namespace: NextDesign.Core
Description
Gets the format value of the specified rich text field. Returns null if the specified format has no value.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
format | string | Format Specify "text", "xaml", "html". It is not case sensitive. |
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 the field type | ExtensionInvalidTypeException | If the data type of the specified field is not rich text type |