## GridCommentCollection class

Encapsulates a collection of [`GridComment`](../gridcomment/) objects.

```csharp
public class GridCommentCollection
```

## Properties

| Name | Description |
| --- | --- |
| [Count](../../aspose.cells.gridweb.data/gridcommentcollection/count/) { get; } | Gets the size of enumerator |
| [Item](../../aspose.cells.gridweb.data/gridcommentcollection/item/) { get; } | Gets the [`GridComment`](../gridcomment/) element at the specified index. (3 indexers) |

## Methods

| Name | Description |
| --- | --- |
| [Add](../../aspose.cells.gridweb.data/gridcommentcollection/add/#add_1)(string) | Adds a comment to the collection. |
| [Add](../../aspose.cells.gridweb.data/gridcommentcollection/add/#add)(int, int) | Adds a comment to the collection. |
| [Clear](../../aspose.cells.gridweb.data/gridcommentcollection/clear/)() | Removes all comments; |
| [GetEnumerator](../../aspose.cells.gridweb.data/gridcommentcollection/getenumerator/)() | Gets the rows enumerator |
| [RemoveAt](../../aspose.cells.gridweb.data/gridcommentcollection/removeat/#removeat_1)(string) | Removes the comment of the specific cell. |
| [RemoveAt](../../aspose.cells.gridweb.data/gridcommentcollection/removeat/#removeat)(int, int) | Removes the comment of the specific cell. |

### See Also

* namespace [Aspose.Cells.GridWeb.Data](../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../)


