System::Collections::ObjectModel::Collection::operator[] method

Collection::operator method

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

T & System::Collections::ObjectModel::Collection<T>::operator[](int index)
매개변수형식설명
indexint값을 가져올 인덱스.

ReturnValue

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

또 보기

Collection::operator const method

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

const T & System::Collections::ObjectModel::Collection<T>::operator[](int index) const
매개변수형식설명
indexint값을 가져올 인덱스.

ReturnValue

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

또 보기