Skip to main content

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

NameTypeDescription
fieldNamestringField name
You cannot specify null or an empty string.
formatstringFormat
Specify "text", "xaml", or "html".
This is not case sensitive.

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