
## CellWatchCollection class

Represents the collection of cells on this worksheet being watched in the 'watch window'.

```js
new CellWatchCollection()
```

## Methods

| Name | Description |
| --- | --- |
| [add(row, column)](#add) | Adds CellWatch with row and column. |
| [add(cellName)](#add-1) | Adds CellWatch with the name the of cell. |
| [add()](#add-2) | Reserved for internal use. |
| [clear()](#clear) |  |
| [contains()](#contains) | Reserved for internal use. |
| [get(index)](#get) | Gets and sets CellWatch by index. |
| [get(cellName)](#get-1) | Gets and sets CellWatch by the name of the cell. |
| [get()](#get-2) | Reserved for internal use. |
| [getCount()](#getcount) |  |
| [indexOf()](#indexof) | Reserved for internal use. |
| [iterator()](#iterator) |  |
| [removeAt()](#removeat) |  |

### add(row, column) {#add}

Adds CellWatch with row and column.

| Parameter | Type | Description |
| --- | --- | --- |
| row | Number | The row index. |
| column | Number | The column index. |

**Returns:** Number — `Number` Returns the position of this item in the collection.

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

Adds CellWatch with the name the of cell.

| Parameter | Type | Description |
| --- | --- | --- |
| cellName | String | The name of the cell. |

**Returns:** Number — `Number`

### add() {#add-2}

Reserved for internal use.

### clear() {#clear}

### contains() {#contains}

Reserved for internal use.

### get(index) {#get}

Gets and sets CellWatch by index.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | The index. |

**Returns:** CellWatch — `CellWatch`

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

Gets and sets CellWatch by the name of the cell.

| Parameter | Type | Description |
| --- | --- | --- |
| cellName | String | The name of the cell. |

**Returns:** CellWatch — `CellWatch`

### get() {#get-2}

Reserved for internal use.

### getCount() {#getcount}

### indexOf() {#indexof}

Reserved for internal use.

### iterator() {#iterator}

### removeAt() {#removeat}
