System::Collections::Generic::DictionaryPtr::operator[] methode

DictionaryPtr::operator[](const T&) const method

Toegangsoperator.

V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const T &key) const
ParameterTypeBeschrijving
keyconst T&Dictionary sleutel.

ReturnValue

Referentie naar de waarde die overeenkomt met de opgegeven sleutel, bestaand of nieuw aangemaakt.

Zie ook

DictionaryPtr::operator[](const X&) const method

Toegangsoperator om te werken met sleuteltype‑conversie.

template<class X> V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const X &key) const
ParameterBeschrijving
XBronsleuteltype.
ParameterTypeBeschrijving
keyconst X&Dictionary sleutel.

ReturnValue

Referentie naar de waarde die overeenkomt met de opgegeven sleutel, bestaand of nieuw aangemaakt.

Zie ook