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

List::operator method

Fonction d’accès.

vector_t::reference System::Collections::Generic::List<T>::operator[](int index)
ParamètreTypeDescription
indiceintIndice pour obtenir l’élément.

ReturnValue

Référence à l’élément à la position spécifiée.

Voir aussi

List::operator const method

Fonction d’accès.

vector_t::const_reference System::Collections::Generic::List<T>::operator[](int index) const
ParamètreTypeDescription
indiceintIndice pour obtenir l’élément.

ReturnValue

Référence constante à l’élément à la position spécifiée.

Voir aussi