Document.XMLSchemaReferences Property

Word Developer Reference

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.

Visual Basic for Applications
  Dim objSchema As XMLSchemaReference

Set objSchema = ActiveDocument.XMLSchemaReferences.Item(1)

objSchema.Reload

See Also