ConditionalFormattingValueCollection

ConditionalFormattingValueCollection class

Describes a collection of CFValueObject. Use only for icon sets.

class ConditionalFormattingValueCollection;

Methods

MethodDescription
get(number)Get the CFValueObject element at the specified index.
add(FormatConditionValueType, string)Adds ConditionalFormattingValue object.
getCount()Gets the number of elements contained in.

get(number)

Get the CFValueObject element at the specified index.

get(index: number) : ConditionalFormattingValue;

Parameters:

ParameterTypeDescription
indexnumberThe 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:

ParameterTypeDescription
typeFormatConditionValueTypeThe value type.
valuestringThe value.

Returns

Returns the index of new object in the list.

getCount()

Gets the number of elements contained in.

getCount() : number;