This documentation is archived and is not being maintained.

CustomProperties Interface

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public interface CustomProperties : 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 method.

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