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


Obtiene el valor en el índice especificado.

```cpp
T & System::Collections::ObjectModel::Collection<T>::operator[](int index)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| índice | int | Índice del cual obtener el valor. |

### ReturnValue

Referencia al valor existente en el índice especificado.

## Ver también

* Class [Collection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.Page for C++](../../../)
## Collection::operator[](int) const method


Obtiene el valor en el índice especificado.

```cpp
const T & System::Collections::ObjectModel::Collection<T>::operator[](int index) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| índice | int | Índice del cual obtener el valor. |

### ReturnValue

Referencia constante al valor existente en el índice especificado.

## Ver también

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