Skip to main content

IModel.SetRichTextField(string,string) Method

Namespace: NextDesign.Core

Description

[Obsolete]
Does nothing.

Argument

NameTypeDescription
fieldNamestringField Name
Cannot be null or an empty string.

Return value

  • void

Exceptions

NameException ClassDescription
Invalid ArgumentExtensionArgumentExceptionWhen null or an empty string is specified for fieldName
Field Not FoundExtensionFieldNotFoundExceptionWhen the specified field is not found in this instance's metaclass
Field Type MismatchExtensionInvalidTypeExceptionWhen the data type of the specified field is not a rich text type
Invalid OperationExtensionInvalidOperationExceptionWhen the model itself is deleted or a temporary proxy
When an unoperable field is specified as the field name
- Product line feature assignment field
- Field with the System.Core tag
When an invalid field is specified

Annotation

Do not use this in V5 and later, as it will cause a discrepancy between the Html value and the Text value.
When setting the Text value, please use SetRichTextField(string,string,string).