## GridCommentCollection class

Encapsulates a collection of Comment objects.

```csharp
public class GridCommentCollection
```

## Properties

| Name | Description |
| --- | --- |
| [Count](../../aspose.cells.griddesktop.data/gridcommentcollection/count/) { get; } |  |
| [Item](../../aspose.cells.griddesktop.data/gridcommentcollection/item/) { get; } | Gets the Comment element at the specified index. (3 indexers) |

## Methods

| Name | Description |
| --- | --- |
| [Add](../../aspose.cells.griddesktop.data/gridcommentcollection/add/#add_1)(string) | Adds a comment to the collection. |
| [Add](../../aspose.cells.griddesktop.data/gridcommentcollection/add/#add)(int, int) | Adds a comment to the collection. |
| [Add](../../aspose.cells.griddesktop.data/gridcommentcollection/add/#add_3)(string, string) | Adds a comment to a specified cell by cell name. |
| [Add](../../aspose.cells.griddesktop.data/gridcommentcollection/add/#add_2)(int, int, string) |  |
| [Clear](../../aspose.cells.griddesktop.data/gridcommentcollection/clear/)() | Removes all comments; |
| [GetEnumerator](../../aspose.cells.griddesktop.data/gridcommentcollection/getenumerator/)() | Gets the rows enumerator |
| [Remove](../../aspose.cells.griddesktop.data/gridcommentcollection/remove/)(int, int) | Removes the comment at the specified row column index of the cell. |
| [RemoveAt](../../aspose.cells.griddesktop.data/gridcommentcollection/removeat/#removeat_1)(string) | Removes the comment of the specific cell. |
| [RemoveAt](../../aspose.cells.griddesktop.data/gridcommentcollection/removeat/#removeat)(int, int) | Removes the comment of the specific cell. |

### See Also

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


