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


Åtkomstfunktion.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) för att hämta element från. |

### ReturnValue

Referens till element på angiven position.

## Se även

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


Åtkomstfunktion.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) för att hämta element från. |

### ReturnValue

Konstant referens till elementet på angiven position.

## Se även

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