ConditionalFormattingIconCollection

ConditionalFormattingIconCollection class

Represents a collection of ConditionalFormattingIcon objects.

class ConditionalFormattingIconCollection;

Methods

MethodDescription
get(number)Gets the ConditionalFormattingIcon element at the specified index.
add(IconSetType, number)Adds ConditionalFormattingIcon object.
add(ConditionalFormattingIcon)Adds ConditionalFormattingIcon object.
getCount()Gets the number of elements contained in.

get(number)

Gets the ConditionalFormattingIcon element at the specified index.

get(index: number) : ConditionalFormattingIcon;

Parameters:

ParameterTypeDescription
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

add(IconSetType, number)

Adds ConditionalFormattingIcon object.

add(type: IconSetType, index: number) : number;

Parameters:

ParameterTypeDescription
typeIconSetTypeThe value type.
indexnumberThe Index.

Returns

Returns the index of new object in the list.

add(ConditionalFormattingIcon)

Adds ConditionalFormattingIcon object.

add(cficon: ConditionalFormattingIcon) : number;

Parameters:

ParameterTypeDescription
cficonConditionalFormattingIconReturns the index of new object in the list.

getCount()

Gets the number of elements contained in.

getCount() : number;