## Add(int, int) {#add}

Adds a comment to the collection.

```csharp
public int Add(int row, int column)
```

| Parameter | Type | Description |
| --- | --- | --- |
| row | Int32 | Cell row index. |
| column | Int32 | Cell column index. |

### Return Value

Comment object index.

### See Also

* class [GridCommentCollection](../)
* namespace [Aspose.Cells.GridDesktop.Data](../../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../../)

---

## Add(string) {#add_1}

Adds a comment to the collection.

```csharp
public int Add(string cellName)
```

| Parameter | Type | Description |
| --- | --- | --- |
| cellName | String | Cell name. |

### Return Value

Comment object index.

### See Also

* class [GridCommentCollection](../)
* namespace [Aspose.Cells.GridDesktop.Data](../../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../../)

---

## Add(string, string) {#add_3}

Adds a comment to a specified cell by cell name.

```csharp
public void Add(string cellName, string text)
```

| Parameter | Type | Description |
| --- | --- | --- |
| cellName | String | Name of grid cell. |
| text | String | Text of comment. |

### See Also

* class [GridCommentCollection](../)
* namespace [Aspose.Cells.GridDesktop.Data](../../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../../)

---

## Add(int, int, string) {#add_2}

```csharp
public void Add(int row, int column, string text)
```

### See Also

* class [GridCommentCollection](../)
* namespace [Aspose.Cells.GridDesktop.Data](../../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../../)


