## WorksheetCollection::Get(int32_t) method


Gets the [Worksheet](../../worksheet/) element at the specified index.

```cpp
Worksheet Aspose::Cells::WorksheetCollection::Get(int32_t index)
```


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

## ReturnValue

The element at the specified index.

## See Also

* Class [Worksheet](../../worksheet/)
* Class [Vector](../../vector/)
* Class [WorksheetCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## WorksheetCollection::Get(const U16String\&) method


Gets the [Worksheet](../../worksheet/) element with the specified name.

```cpp
Worksheet Aspose::Cells::WorksheetCollection::Get(const U16String &sheetName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| sheetName | const U16String\& | [Worksheet](../../worksheet/) name |

## ReturnValue

The element with the specified name.

## See Also

* Class [Worksheet](../../worksheet/)
* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [WorksheetCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## WorksheetCollection::Get(const char16_t*) method


Gets the [Worksheet](../../worksheet/) element with the specified name.

```cpp
Worksheet Aspose::Cells::WorksheetCollection::Get(const char16_t *sheetName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| sheetName | const char16_t* | [Worksheet](../../worksheet/) name |

## ReturnValue

The element with the specified name.

## See Also

* Class [Worksheet](../../worksheet/)
* Class [Vector](../../vector/)
* Class [WorksheetCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
