System::Collections::Generic::ListPtr::operator[] 方法

ListPtr::operator method

访问器。

std::vector<T>::reference System::Collections::Generic::ListPtr<T>::operator[](int idx)
ParameterType描述
idxint用于访问元素的索引。

ReturnValue

对指定元素的引用。

另见

ListPtr::operator const method

访问器。

std::vector<T>::const_reference System::Collections::Generic::ListPtr<T>::operator[](int idx) const
ParameterType描述
idxint用于访问元素的索引。

ReturnValue

对指定元素的常量引用。

另见