## GridNameCollection class

Encapsulates a collection of [`GridName`](../gridname/) objects.

```csharp
public class GridNameCollection
```

## Properties

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

## Methods

| Name | Description |
| --- | --- |
| [Add](../../aspose.cells.griddesktop.data/gridnamecollection/add/#add_1)(string, string) | Defines a new global name. |
| [Add](../../aspose.cells.griddesktop.data/gridnamecollection/add/#add)(int, string, string) | Defines a new name in the specified sheet. |
| [Clear](../../aspose.cells.griddesktop.data/gridnamecollection/clear/)() | Removes all Names; |
| [GetEnumerator](../../aspose.cells.griddesktop.data/gridnamecollection/getenumerator/)() | Gets the rows enumerator |
| [Remove](../../aspose.cells.griddesktop.data/gridnamecollection/remove/)(string[]) | Remove an array of name |
| [RemoveAt](../../aspose.cells.griddesktop.data/gridnamecollection/removeat/)(int) | Remove the name at the specific index. |

### See Also

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


