CustomProperties CustomProperties CustomProperties Interface


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
public interface CustomProperties : System.Collections.IEnumerable
Public Interface CustomProperties
Implements IEnumerable


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.


_Default[Object] _Default[Object] _Default[Object]

Reserved for internal use.

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

Count Count Count

Returns the number of objects in the collection.

Creator Creator Creator

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

Item[Object] Item[Object] Item[Object]

Returns a single object from a collection.

Parent Parent Parent

Returns the parent object for the specified object.


Add(String, Object) Add(String, Object) Add(String, Object)

Adds custom property information. Returns a CustomProperty object.

GetEnumerator() GetEnumerator() GetEnumerator()

Applies to