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

List::operator method

Åtkomstfunktion.

vector_t::reference System::Collections::Generic::List<T>::operator[](int index)
ParameterTypeBeskrivning
indexintIndex för att hämta element från.

ReturnValue

Referens till element på angiven position.

Se även

List::operator const method

Åtkomstfunktion.

vector_t::const_reference System::Collections::Generic::List<T>::operator[](int index) const
ParameterTypeBeskrivning
indexintIndex för att hämta element från.

ReturnValue

Konstant referens till element på angiven position.

Se även