## NameCollection::Get(int32_t) method


Gets the [Name](../../name/) element at the specified index.

```cpp
Name Aspose::Cells::NameCollection::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 [Name](../../name/)
* Class [Vector](../../vector/)
* Class [NameCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## NameCollection::Get(const U16String\&) method


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

```cpp
Name Aspose::Cells::NameCollection::Get(const U16String &text)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | const U16String\& | [Name](../../name/) text. |

## ReturnValue

The element with the specified name.

## See Also

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


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

```cpp
Name Aspose::Cells::NameCollection::Get(const char16_t *text)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | const char16_t* | [Name](../../name/) text. |

## ReturnValue

The element with the specified name.

## See Also

* Class [Name](../../name/)
* Class [Vector](../../vector/)
* Class [NameCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
