Skip to main content

IModel.SetRichTextField(string,string,string,string) method

Namespace: NextDesign.Core

Description

Sets the value to format the specified rich text field.
Also sets the text value in the specified rich text field.

argument

NameTypeDescription
fieldNamestringField name
You cannot specify null or an empty string.
valuestringField value
textValuestringtext value of the field
formatstringFormat
Specify "xaml" or "html".
This is not case sensitive.

Return value

  • void

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for fieldName
If null or an empty string is specified for format
If the specified format does not exist
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
Illegal operationExtensionInvalidOperationExceptionIf the model itself is a deleted model or a temporary proxy
If a field that cannot be operated is specified for the field name
- Product line feature assignment field
- System.Core Tagged Field