System::Collections::ObjectModel::Collection::operator[] method

Collection::operator method

Obtiene el valor en el índice especificado.

T & System::Collections::ObjectModel::Collection<T>::operator[](int index)
ParámetroTipoDescripción
índiceintÍndice del cual obtener el valor.

ReturnValue

Referencia al valor existente en el índice especificado.

Ver también

Collection::operator const method

Obtiene el valor en el índice especificado.

const T & System::Collections::ObjectModel::Collection<T>::operator[](int index) const
ParámetroTipoDescripción
índiceintÍndice del cual obtener el valor.

ReturnValue

Referencia constante al valor existente en el índice especificado.

Ver también