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

Collection::operator method

指定されたインデックスの値を取得します。

T & System::Collections::ObjectModel::Collection<T>::operator[](int index)
パラメーター説明
インデックスint値を取得するインデックスです。

ReturnValue

指定されたインデックスの既存の値への参照。

参照

Collection::operator const method

指定されたインデックスの値を取得します。

const T & System::Collections::ObjectModel::Collection<T>::operator[](int index) const
パラメーター説明
インデックスint値を取得するインデックスです。

ReturnValue

指定されたインデックスの既存の値への const 参照。

参照