SmartTags SmartTags SmartTags Interface


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
public interface SmartTags : System.Collections.IEnumerable
Public Interface SmartTags
Implements 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.


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.


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