Document.XMLSchemaReferences property (Word)

Returns an XMLSchemaReferences collection that represents the schemas attached to a document.

Syntax

expression. XMLSchemaReferences

expression An expression that returns a Document object.

Example

The following example reloads the first schema attached to the active document.

Dim objSchema As XMLSchemaReference 
 
Set objSchema = ActiveDocument.XMLSchemaReferences.Item(1) 
 
objSchema.Reload

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.