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


지정된 인덱스의 값을 가져옵니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| index | int | 값을 가져올 인덱스. |

### ReturnValue

지정된 인덱스에 있는 기존 값에 대한 참조.

## 또 보기

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


지정된 인덱스의 값을 가져옵니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| index | int | 값을 가져올 인덱스. |

### ReturnValue

지정된 인덱스에 있는 기존 값에 대한 const 참조.

## 또 보기

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