System::Collections::Generic::List::operator[] メソッド

List::operator method

アクセサ関数。

vector_t::reference System::Collections::Generic::List<T>::operator[](int index)
パラメーター説明
インデックスint要素を取得するインデックス。

ReturnValue

指定された位置の要素への参照です。

参照

List::operator const method

アクセサ関数。

vector_t::const_reference System::Collections::Generic::List<T>::operator[](int index) const
パラメーター説明
インデックスint要素を取得するインデックス。

ReturnValue

指定された位置の要素への const 参照です。

参照