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


Función de acceso.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) para obtener el elemento de. |

### ReturnValue

Referencia al elemento en la posición especificada.

## Ver también

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


Función de acceso.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) para obtener el elemento de. |

### ReturnValue

Referencia constante al elemento en la posición especificada.

## Ver también

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