Share via


IconSet.Item Property

Returns an Icon object that represents a single icon from an icon set. Read-only.

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

Syntax

'Declaration
ReadOnly Property Item ( _
    Index As Object _
) As Icon
    Get
'Usage
Dim instance As IconSet
Dim Index As Object
Dim value As Icon

value = instance.Item(Index)
Icon this[
    Object Index
] { get; }

Parameters

Property Value

Type: Microsoft.Office.Interop.Excel.Icon
Icon

Remarks

The value of the Index parameter cannot be greater than the number of icons in an icon set. To find the total number of icons in an icon set, use the IconSet.Count property.

See Also

Reference

IconSet Interface

IconSet Members

Microsoft.Office.Interop.Excel Namespace