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 You cannot specify null or an empty string. |
format | string | Format Specify "text", "xaml", or "html". This is not case sensitive. |
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 |