ConditionalFormattingValueCollection
ConditionalFormattingValueCollection class
Describes a collection of CFValueObject. Use only for icon sets.
class ConditionalFormattingValueCollection;
Methods
| Method | Description |
|---|---|
| get(number) | Get the CFValueObject element at the specified index. |
| add(FormatConditionValueType, string) | Adds ConditionalFormattingValue object. |
get(number)
Get the CFValueObject element at the specified index.
get(index: number) : ConditionalFormattingValue;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The zero based index of the element. |
Returns
The element at the specified index.
add(FormatConditionValueType, string)
Adds ConditionalFormattingValue object.
add(type: FormatConditionValueType, value: string) : number;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | FormatConditionValueType | The value type. |
| value | string | The value. |
Returns
Returns the index of new object in the list.