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()@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

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()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;