## List::operator[](int) method


Функция доступа.

```cpp
vector_t::reference System::Collections::Generic::List<T>::operator[](int index)
```


| Параметр | Тип | Описание |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) для получения элемента из. |

### ReturnValue

Ссылка на элемент в указанной позиции.

## См. также

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
## List::operator[](int) const method


Функция доступа.

```cpp
vector_t::const_reference System::Collections::Generic::List<T>::operator[](int index) const
```


| Параметр | Тип | Описание |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) для получения элемента из. |

### ReturnValue

Константная ссылка на элемент в указанной позиции.

## См. также

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
