Edit

Share via


ColorScaleCriteria.Item[Object] Property

Definition

Returns a single ColorScaleCriterion object from the ColorScaleCriteriacollection. Read-only.

public:
 property Microsoft::Office::Interop::Excel::ColorScaleCriterion ^ Item[System::Object ^] { Microsoft::Office::Interop::Excel::ColorScaleCriterion ^ get(System::Object ^ Index); };
public Microsoft.Office.Interop.Excel.ColorScaleCriterion Item[object Index] { get; }
Public ReadOnly Property Item(Index As Object) As ColorScaleCriterion

Parameters

Index
Object

The index number of the ColorScaleCriterion object.

Property Value

ColorScaleCriterion

Remarks

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

Applies to