
## ConditionalFormattingValueCollection class

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

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Count](#count) | Number |  |
| [Item (int)](#itemint) | ConditionalFormattingValue | Get the CFValueObject element at the specified index. |

## Methods

| Name | Description |
| --- | --- |
| [add](#add) | Adds ConditionalFormattingValue object. |
| [clear](#clear) |  |
| [removeAt](#removeat) |  |
| [iterator](#iterator) |  |
| [get](#get) | Reserved for internal use. |
| [contains](#contains) | Reserved for internal use. |
| [indexOf](#indexof) | Reserved for internal use. |

### ConditionalFormattingValueCollection.Count property {#count}

**Type:** Number

### ConditionalFormattingValueCollection.Item (int) property {#itemint}

Get the CFValueObject element at the specified index.

**Type:** ConditionalFormattingValue

### add(type, value) (1 of 2) {#add}

Adds ConditionalFormattingValue object.

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

**Returns:** Returns the index of new object in the list.

---

### add(value) (2 of 2) {#add-1}

Reserved for internal use.

### clear() {#clear}

### removeAt(index) {#removeat}

### iterator() {#iterator}

### get(index) {#get}

Reserved for internal use.

### contains(value) {#contains}

Reserved for internal use.

### indexOf(value) {#indexof}

Reserved for internal use.
