Modifica

Condividi tramite


SmartTag Interface

Definition

Represents a string in a document or range that contains recognized type information.

public interface class SmartTag
[System.Runtime.InteropServices.Guid("000209ED-0000-0000-C000-000000000046")]
public interface SmartTag
type SmartTag = interface
Public Interface SmartTag
Attributes

Remarks

The SmartTag object is a member of the SmartTags collection. 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(Object) 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.

Creator

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

DownloadURL

Returns a String that represents the URL address for a smart tag.

Name

Returns the name of the specified object.

Parent

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

Properties

Returns a CustomProperties object that represents the properties of a smart tag.

Range

Returns a Range object that represents the portion of a document that's contained in the specified object.

SmartTagActions

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

XML

Returns a String that represents the related XML for a smart tag.

XMLNode

Returns a XMLNode object that represents the XML element for a smart tag.

Methods

Delete()

Deletes the specified object.

Select()

Selects the specified object.

Applies to