Skip to main content

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

NameTypeDescription
fieldNamestringField name
Null or an empty string cannot be specified.
formatstringCustom format name
Case insensitive.

Return value

  • string

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen fieldName is null or an empty string
When format is null or an empty string
Field not foundExtensionFieldNotFoundExceptionIf the specified field is not found in the metaclass of this instance
Does not match field typeExtensionInvalidTypeExceptionIf the data type of the specified field is not rich text type