Partager via


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)

Syntax

'Declaration
<GuidAttribute("000209EE-0000-0000-C000-000000000046")> _
Public Interface SmartTags _
    Inherits IEnumerable
'Usage
Dim instance As SmartTags
[GuidAttribute("000209EE-0000-0000-C000-000000000046")]
public interface SmartTags : IEnumerable

Remarks

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.

See Also

Reference

SmartTags Members

Microsoft.Office.Interop.Word Namespace