## 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 |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) para obtener el valor de. |

### ReturnValue

Referencia al valor existente en el índice especificado.

## Ver también

* Class [Collection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.PDF 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 |
| --- | --- | --- |
| index | int | [Index](../../../system/index/) para obtener el valor de. |

### ReturnValue

Referencia const al valor existente en el índice especificado.

## Ver también

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