Skip to main content

IModel.GetRichTextFieldCustomData method

Namespace: NextDesign.Core

Description

Gets the custom formatted value of the specified rich text field.
Returns null if the specified format is not found.

argument

NameTypeDescription
fieldNamestringField name
You cannot specify null or an empty string.
formatstringCustom format name
Case insensitive.

Return value

  • string

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for fieldName
If null or an empty string is specified for format
Field not foundExtensionFieldNotFoundExceptionIf the specified field is not found in this instance's metaclass
Does not match field typeExtensionInvalidTypeExceptionIf the data type of the specified field is not RichText