Partager via


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00024452-0000-0000-C000-000000000046")> _
Public Interface CustomProperties _
    Inherits IEnumerable
'Usage
Dim instance As CustomProperties
[InterfaceTypeAttribute()]
[GuidAttribute("00024452-0000-0000-C000-000000000046")]
public interface CustomProperties : IEnumerable

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 method.

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

See Also

Reference

CustomProperties Members

Microsoft.Office.Interop.Excel Namespace