SmartTagType Interface

Definition

Represents a type of smart tag.

public interface class SmartTagType
[System.Runtime.InteropServices.Guid("5E9A888C-E5DC-4DCB-8308-3C91FB61E6F4")]
public interface SmartTagType
type SmartTagType = interface
Public Interface SmartTagType
Attributes

Remarks

A smart tag type is a single item in a smart tag list. Smart tag lists can contain multiple smart tag types. For example, the Address smart tag list installed on English systems by default contains a name smart tag type, a street smart tag type, and a city smart tag type, to name just a few.

SmartTagRecognizer, SmartTagAction, and SmartTagType objects are related in that each item that a smart tag component recognizes is a SmartTagType object. For example, "city" in the Address smart tag component is a specific SmartTagType object. The city smart tag type then has related SmartTagRecognizer objects (the part of the smart tag component that recognizes smart tags of type "city" in documents) and SmartTagAction objects (the part of the smart tag component that provides the actions related to the specific smart tag type, which may include looking up a recognized city in Microsoft MapPoint on MSN). Put simply, the recognizer does the labeling, the action handler provides end-user functionality, and what ties them together is the type of smart tag they work on.

Use the Item[Object] method to return a specific smart tag type in a collection of smart tag types. Then use the SmartTagRecognizers property to return all smart tag recognizers associated with a specified type of smart tag, and use the SmartTagActions property to return all smart tag actions associated with a specified type of smart tag.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Creator

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

FriendlyName

Returns a String that represents a friendly name for a smart tag type.

Name

Returns the name of the specified object.

Parent

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

SmartTagActions

Returns a SmartTagActions collection that represents the collection of actions available on a smart tag.

SmartTagRecognizers

Returns a SmartTagRecognizers collection for an application.

Applies to