System::Collections::Generic::DictionaryPtr::operator[] méthode

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

Opérateur d’accès.

V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const T &key) const
ParamètreTypeDescription
keyconst T&Dictionary clé.

ReturnValue

Référence à la valeur correspondant à la clé fournie, existante ou nouvellement créée.

Voir aussi

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

Opérateur d’accès pour travailler avec la conversion du type de clé.

template<class X> V & System::Collections::Generic::DictionaryPtr<T, V>::operator[](const X &key) const
ParamètreDescription
XType de clé source.
ParamètreTypeDescription
keyconst X&Dictionary clé.

ReturnValue

Référence à la valeur correspondant à la clé fournie, existante ou nouvellement créée.

Voir aussi