Word.CustomXmlAddValidationErrorOptions interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The options that define the descriptive error text and the state of clearedOnUpdate
.
Remarks
Properties
cleared |
If provided, specifies whether the error is to be cleared from the Word.CustomXmlValidationErrorCollection when the XML is corrected and updated. |
error |
If provided, specifies the descriptive error text. |
Property Details
clearedOnUpdate
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies whether the error is to be cleared from the Word.CustomXmlValidationErrorCollection when the XML is corrected and updated.
clearedOnUpdate?: boolean;
Property Value
boolean
Remarks
errorText
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies the descriptive error text.
errorText?: string;
Property Value
string