Share via


SmartTag.XMLNode Property

Word Developer Reference

Returns an XMLNode object that represents the XML element for a smart tag.

Syntax

expression.XMLNode

expression   An expression that returns a SmartTag object.

Remarks

Not all smart tags contain XML nodes; however, the XMLNode property allows developers to access the XML nodes for smart tags that contain XML nodes.

Example

The following example accesses the XML node for the first smart tag in the active document.

Visual Basic for Applications
  Dim objNode As XMLNode

Set objNode = ActiveDocument.SmartTags(1).XMLNode

See Also