Share via


XMLSchemaReferences.Validate Method

Word Developer Reference

Validates all the XML schemas that are attached to a document.

Syntax

expression.Validate

expression   An expression that returns an XMLSchemaReferences object.

Return Value
Nothing

Remarks

When you run the Validate method, Microsoft Office Word populates the XMLSchemaViolations property of the Document object with a collection of the XML nodes that have validation errors.

See Also