منشئ System::Collections::Generic::KeyValuePair::KeyValuePair

KeyValuePair::KeyValuePair() constructor

مُهيئ زوج المفتاح والقيمة الفارغ.

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

انظر أيضًا

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

منشئ تحويل النوع.

template<typename OtherK,typename OtherV> System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const std::pair<OtherK, OtherV> &pair)
Parameterالوصف
OtherKنوع المفتاح الآخر.
OtherVنوع القيمة الآخر.
ParameterTypeالوصف
زوجconst std::pair<OtherK, OtherV>&قيمة الزوج.

انظر أيضًا

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

منشئ.

System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const TKey &key, const TValue &value)
ParameterTypeالوصف
المفتاحconst TKey&المفتاح.
valueconst TValue&القيمة.

انظر أيضًا