Share via


XMLSchemaReferences.HideValidationErrors Property

Word Developer Reference

Returns a Boolean indicating whether Word displays schema validation errors for the current XML document. Read/write.

Syntax

expression.HideValidationErrors

expression   An expression that returns an XMLSchemaReferences collection.

Remarks

True causes Word to hide schema validation errors for the current XML document. False causes schema validation errors to be displayed in the XML Structure task pane.

Example

The following example disables the display of schema validation errors in the current XML document.

Visual Basic for Applications
  ActiveDocument.XMLSchemaReferences _
    .HideValidationErrors = True

See Also