編輯

共用方式為


CustomProperty Interface

Definition

Represents identifier information. Identifier information can be used as metadata for XML.

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

Remarks

Use the Add(String, Object) method or the Item[Object] property of the CustomProperties collection to return a CustomProperty object.

Once a CustomProperty object is returned, you can add metadata to worksheets using the CustomProperties property with the Add method.

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.

Name

Returns or sets the name of the object.

Parent

Returns the parent object for the specified object.

Value

Returns or sets the value of the custom property.

Methods

Delete()

Deletes the object.

Applies to