SmartTags SmartTags SmartTags Interface

Definition

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

public interface class SmartTags : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000209EE-0000-0000-C000-000000000046")]
public interface SmartTags : System.Collections.IEnumerable
Public Interface SmartTags
Implements IEnumerable
Attributes
Implements

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.

Properties

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Count Count Count

Returns the number of items in the specified collection.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Object] Item[Object] Item[Object]

Returns an individual object in a collection.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

Methods

Add(String, Object, Object) Add(String, Object, Object) Add(String, Object, Object)

Gets a SmartTag object that represents a new smart tag added to a document.

GetEnumerator() GetEnumerator() GetEnumerator()
SmartTagsByType(String) SmartTagsByType(String) SmartTagsByType(String)

Returns a SmartTags collection that represents all the smart tags installed on a user's computer of the specified type.

Applies to