編輯

共用方式為


SmartTag Interface

Definition

Represents an identifier that is assigned to a cell.

public interface class SmartTag
[System.Runtime.InteropServices.Guid("00024460-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface SmartTag
Public Interface SmartTag
Attributes

Remarks

Use the Add(String) method of the SmartTags collection to return a SmartTag object.

Once a SmartTag object is returned, you can store extra metadata to a smart tag by using the Add(String, Object) method with the Properties property.

To view the extra metadata, use the XML property of the SmartTag object.

Properties

_Default

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Creator

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

DownloadURL

Returns a String representing the Uniform Resource Locator (URL) for a smart tag.

Name

Returns the name of the object.

Parent

Returns the parent object for the specified object.

Properties

Returns a CustomProperties object representing the properties for a smart tag.

Range

Returns a Range object that represents the range the specified smart tag applies to.

SmartTagActions

Returns a SmartTagActions object that sets the type of action for a selected smart tag.

XML

Returns a String representing a sample of the XML that would be passed to the action handler.

Methods

Delete()

Deletes the object.

Applies to