Partager via


IconCriteria.Item Property

Returns a single IconCriterion object from the IconCriteria collection. 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 IconCriterion
    Get
'Usage
Dim instance As IconCriteria
Dim Index As Object
Dim value As IconCriterion

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

Parameters

  • Index
    Type: System.Object

    The index number of the IconCriterion object.

Property Value

Type: Microsoft.Office.Interop.Excel.IconCriterion

Remarks

The value of the Index parameter cannot be greater than the number of criteria set for an icon set conditional format. The criteria are equivalent to the threshold values assigned for an icon set. To find the number of threshold values, use the IconCriteria.Count property.

See Also

Reference

IconCriteria Interface

IconCriteria Members

Microsoft.Office.Interop.Excel Namespace