SmartTags Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
type SmartTags = interface
interface 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 |
Returns a Application object that represents the Microsoft Word application. |
Count |
Returns the number of items in the specified collection. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Item[Object] |
Returns an individual object in a collection. |
Parent |
Returns an object that represents the parent object of the specified object. |
Methods
Add(String, Object, Object) |
Gets a SmartTag object that represents a new smart tag added to a document. |
GetEnumerator() | |
SmartTagsByType(String) |
Returns a SmartTags collection that represents all the smart tags installed on a user's computer of the specified type. |