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

Добавляет комментарий в коллекцию.

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

| Параметр | Тип | Описание |
| --- | --- | --- |
| row | Int32 | Индекс строки ячейки. |
| column | Int32 | Индекс столбца ячейки. |

### Возвращаемое значение

Comment индекс объекта.

### Смотрите также

* class [GridCommentCollection](../../gridcommentcollection)
* пространство имен [Aspose.Cells.GridDesktop.Data](../../gridcommentcollection)
* сборка [Aspose.Cells.GridDesktop](../../../)

---

## Add(string) {#add_1}

Добавляет комментарий в коллекцию.

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

| Параметр | Тип | Описание |
| --- | --- | --- |
| cellName | String | Имя ячейки. |

### Возвращаемое значение

Comment индекс объекта.

### Смотрите также

* class [GridCommentCollection](../../gridcommentcollection)
* пространство имен [Aspose.Cells.GridDesktop.Data](../../gridcommentcollection)
* сборка [Aspose.Cells.GridDesktop](../../../)

---

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

Добавляет комментарий к указанной ячейке по имени ячейки.

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

| Параметр | Тип | Описание |
| --- | --- | --- |
| cellName | String | Имя ячейки сетки. |
| text | String | Текст комментария. |

### Смотрите также

* class [GridCommentCollection](../../gridcommentcollection)
* пространство имен [Aspose.Cells.GridDesktop.Data](../../gridcommentcollection)
* сборка [Aspose.Cells.GridDesktop](../../../)

---

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

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

### Смотрите также

* class [GridCommentCollection](../../gridcommentcollection)
* пространство имен [Aspose.Cells.GridDesktop.Data](../../gridcommentcollection)
* сборка [Aspose.Cells.GridDesktop](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridDesktop.dll -->
