## GridWorksheetCollection indexer (1 of 2)

Gets the [`GridWorksheet`](../../gridworksheet/) element at the specified index.

```csharp
public GridWorksheet this[int index] { get; }
```

| Parameter | Description |
| --- | --- |
| index | The zero based index of the element. |

### Return Value

The element at the specified index.

### See Also

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

---

## GridWorksheetCollection indexer (2 of 2)

Gets the [`GridWorksheet`](../../gridworksheet/) element with the specified name.

```csharp
public GridWorksheet this[string sheetName] { get; }
```

| Parameter | Description |
| --- | --- |
| sheetName | The name of the worksheet. |

### Return Value

The GridWorksheet with the name.

### See Also

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


