XMLSchemaReferences Property

Microsoft Word Visual Basic

XMLSchemaReferences Property

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

expression.XMLSchemaReferences

expression    Required. 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