Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SmartTags interface
Collapse the table of content
Expand the table of content

SmartTags interface

A collection of SmartTag objects that represents the text in a document that is marked as containing recognized type information.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("000209EE-0000-0000-C000-000000000046")]
public interface SmartTags : IEnumerable

The SmartTags collection contains all the smart tags in a document or range of text within a document. Microsoft Word uses a recognizer file to label smart tags, and it uses an action file to execute actions related to the smart tags, such as linking to Web sites.

Use the Item method— or SmartTags (index), where index represents the number of the smart tag— to return a single SmartTag object.

Show:
© 2015 Microsoft