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
Null or an empty string cannot be specified.
formatstringFormat
Specify "text", "xaml", "html".
It is not case sensitive.

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 the field typeExtensionInvalidTypeExceptionIf the data type of the specified field is not rich text type