
## ConditionalFormattingValueCollection class

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

## Methods

| Name | Description |
| --- | --- |
| [add(type, value)](#add) | Adds ConditionalFormattingValue object. |
| [add()](#add-1) | Reserved for internal use. |
| [clear()](#clear) |  |
| [contains()](#contains) | Reserved for internal use. |
| [get(index)](#get) | Get the CFValueObject element at the specified index. |
| [get()](#get-1) | Reserved for internal use. |
| [getCount()](#getcount) |  |
| [indexOf()](#indexof) | Reserved for internal use. |
| [iterator()](#iterator) |  |
| [removeAt()](#removeat) |  |

### add(type, value) {#add}

Adds ConditionalFormattingValue object.

| Parameter | Type | Description |
| --- | --- | --- |
| type | Number | FormatConditionValueType |
| value | String | The value. |

**Returns:** Number — `Number` Returns the index of new object in the list.

### add() {#add-1}

Reserved for internal use.

### clear() {#clear}

### contains() {#contains}

Reserved for internal use.

### get(index) {#get}

Get the CFValueObject element at the specified index.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | The zero based index of the element. |

**Returns:** ConditionalFormattingValue — `ConditionalFormattingValue` The element at the specified index.

### get() {#get-1}

Reserved for internal use.

### getCount() {#getcount}

### indexOf() {#indexof}

Reserved for internal use.

### iterator() {#iterator}

### removeAt() {#removeat}
