Skip to main content

IModel.SetRichTextField(string, string, string) method

Namespace: NextDesign.Core

Description

Sets a value for the format of the specified rich text field.

argument

NameTypeDescription
fieldNamestringField name
Null or an empty string cannot be specified.
valuestringfield value
formatstringFormat
Specify "text", "xaml", "html".
It is not case sensitive.

Return value

  • void

Exception

NameException ClassDescription
Argument invalidExtensionArgumentExceptionWhen fieldName is null or an empty string is specified
When format is null or an empty string is specified
When the specified format does not exist
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
Illegal operationExtensionInvalidOperationExceptionIf it is a deleted model or temporary proxy
If you specify an inoperable field for the field name
-Product line feature assignment field
-System.Core Fields tagged