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
Index
Type: System.ObjectThe index number of the Icon object.
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.