XMLNode.SmartTag Property

Word Developer Reference

Returns a SmartTag object that represents the smart tag associated with an XML element.

Syntax

expression.SmartTag

expression   A variable that represents an XMLNode object.

Remarks

XML elements can have smart tag actions assigned to them through external components that implement the ISmartTag interface. For more information on smart tags and how to create recognizers and action handlers, refer to the Smart Tag Software Development Kit on the Microsoft Developer Network (MSDN) Web site.

Example

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

Visual Basic for Applications
  Dim objSmartTag As SmartTag

Set objSmartTag = ActiveDocument.XMLNodes(1).SmartTag

See Also