## 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 |
| --- | --- | --- |
| índice | int | Índice para obtener el elemento. |

### ReturnValue

Referencia al elemento en la posición especificada.

## Ver también

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page 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 |
| --- | --- | --- |
| índice | int | Índice para obtener el elemento. |

### ReturnValue

Referencia constante al elemento en la posición especificada.

## Ver también

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