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

ListPtr::operator method

Åtkomstmetod.

std::vector<T>::reference System::Collections::Generic::ListPtr<T>::operator[](int idx)
ParameterTypBeskrivning
idxintIndex för att komma åt element från.

ReturnValue

Referens till specificerat element.

Se även

ListPtr::operator const method

Åtkomstmetod.

std::vector<T>::const_reference System::Collections::Generic::ListPtr<T>::operator[](int idx) const
ParameterTypBeskrivning
idxintIndex för att komma åt element från.

ReturnValue

Konstant referens till specificerat element.

Se även