Skip to main content

IModel.SetRichTextFieldValues Method

Namespace: NextDesign.Core

Description

Sets the Html and text values for the specified rich text field.

Argument

NameTypeDescription
fieldNamestringField name
Null or an empty string cannot be specified.
htmlValuestringHtml value of the field
textValuestringText value of the field

Return value

  • void

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for fieldName
If the HTML specified for htmlValue does not contain a body tag (however, HTML is allowed to be 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
Invalid operationExtensionInvalidOperationExceptionIf the model itself is a deleted model or a temporary proxy
If an inoperable field is specified for the field name
- Feature assignment field of a product line
- Fields tagged with System.Core
If an invalid field is specified