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

List::operator method

Åtkomstfunktion.

vector_t::reference System::Collections::Generic::List<T>::operator[](int index)
ParameterTypBeskrivning
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
ParameterTypBeskrivning
indexintIndex för att hämta element från.

ReturnValue

Konstant referens till elementet på angiven position.

Se även