XMLSchemaReference Property

Microsoft Word Visual Basic

XMLSchemaReference Property

Returns an XMLSchemaReference object that represents the XML schema to which the specified XMLChildNodeSuggestion object belongs.

expression.XMLSchemaReference

expression    Required. An expression that returns an XMLChildNodeSuggestion object.

Example

The following example reloads the schema for the first XMLChildNodeSuggestion object in the active document.

    Dim objSuggestion As XMLChildNodeSuggestion

Set objSuggestion = ActiveDocument.XMLChildNodeSuggestions.Item(1)

objSuggestion.XMLSchemaReference.Reload