CustomProperties Interface

Definition

A collection of CustomProperty objects that represent additional information. The information can be used as metadata for XML.

public interface class CustomProperties : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024452-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface CustomProperties : System.Collections.IEnumerable
Public Interface CustomProperties
Implements IEnumerable
Attributes
Implements

Remarks

Use the Properties property of the SmartTag object, or the CustomProperties property of the Worksheet object, to return a CustomProperties collection.

Once a CustomProperties collection is returned, you can add metadata to worksheets and smart tags depending on which you choose to work with.

To add metadata to a worksheet, use the CustomProperties property with the Add(String, Object) method.

To add metadata to a smart tag, use the Properties property with the Add method.

Properties

_Default[Object]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

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

Item[Object]

Returns a single object from a collection.

Parent

Returns the parent object for the specified object.

Methods

Add(String, Object)

Adds custom property information. Returns a CustomProperty object.

GetEnumerator()

Applies to