ColorScaleCriteria.Item[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.