System::Collections::Generic::ListPtr::operator[] método

ListPtr::operator method

Accesor.

std::vector<T>::reference System::Collections::Generic::ListPtr<T>::operator[](int idx)
ParámetroTipoDescripción
idxintIndex para acceder al elemento.

ReturnValue

Referencia al elemento especificado.

Ver también

ListPtr::operator const method

Accesor.

std::vector<T>::const_reference System::Collections::Generic::ListPtr<T>::operator[](int idx) const
ParámetroTipoDescripción
idxintIndex para acceder al elemento.

ReturnValue

Referencia constante al elemento especificado.

Ver también