System::Collections::Generic::KeyValuePair::KeyValuePair constructor

KeyValuePair::KeyValuePair() constructor

Null‑initialisatie van sleutel‑waarde‑koppel.

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

Zie ook

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

Type‑conversie‑constructor.

template<typename OtherK,typename OtherV> System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const std::pair<OtherK, OtherV> &pair)
ParameterBeschrijving
OtherKAnder sleuteltype.
OtherVAnder waardetype.
ParameterTypeBeschrijving
pairconst std::pair<OtherK, OtherV>&Paarwaarde.

Zie ook

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

Constructor.

System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const TKey &key, const TValue &value)
ParameterTypeBeschrijving
sleutelconst TKey&Sleutel.
valueconst TValue&Waarde.

Zie ook