Costruttore System::Collections::Generic::KeyValuePair::KeyValuePair

KeyValuePair::KeyValuePair() constructor

Inizializzatore di coppia chiave-valore nullo.

System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair()

Vedi anche

KeyValuePair::KeyValuePair(const std::pair<OtherK, OtherV>&) constructor

Costruttore di conversione di tipo.

template<typename OtherK,typename OtherV> System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const std::pair<OtherK, OtherV> &pair)
ParametroDescrizione
OtherKAltro tipo di chiave.
OtherVAltro tipo di valore.
ParametroTipoDescrizione
coppiaconst std::pair<OtherK, OtherV>&Valore della coppia.

Vedi anche

KeyValuePair::KeyValuePair(const TKey&, const TValue&) constructor

Costruttore.

System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const TKey &key, const TValue &value)
ParametroTipoDescrizione
chiaveconst TKey&Chiave.
valueconst TValue&Valore.

Vedi anche