System::Collections::Generic::ListPtr::operator[] method

ListPtr::operator method

Accessor.

std::vector<T>::reference System::Collections::Generic::ListPtr<T>::operator[](int idx)
ParameterTypeDescription
idxintIndex to access element from.

ReturnValue

Reference to specified element.

See Also

ListPtr::operator const method

Accessor.

std::vector<T>::const_reference System::Collections::Generic::ListPtr<T>::operator[](int idx) const
ParameterTypeDescription
idxintIndex to access element from.

ReturnValue

Const reference to specified element.

See Also