Skip to main content

IModel.GetRichTextFieldFormats method

Namespace: NextDesign.Core

Description

Gets a list of formats in which the value of the specified rich text field is set.
The order of the list is arbitrary. It also returns a format where the value is an empty string.

argument

NameTypeDescription
fieldNamestringField name
Null or empty string cannot be specified.

Return value

  • IEnumerable<string>

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null or empty string is specified for fieldName
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 a rich text type