System::Collections::Generic::operator== मेथड

System::Collections::Generic::operator== method

दो कुंजी-मूल्य जोड़ों की तुलना ’equals’ सेमांटिक्स का उपयोग करके करता है। दोनों कुंजियों और मानों के लिए operator == या EqualsTo मेथड का उपयोग करता है, जो भी परिभाषित है।

template<typename TKey,typename TValue> bool System::Collections::Generic::operator==(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
पैरामीटरविवरण
TKeyकुंजी प्रकार।
TValueवैल्यू टाइप।
पैरामीटरप्रकारविवरण
बाएँconst KeyValuePair<TKey, TValue>&बाएँ हाथ का ऑपरेण्ड।
दाएँconst KeyValuePair<TKey, TValue>&RHS ऑपरेण्ड।

ReturnValue

यदि दोनों कुंजियाँ और मान मेल खाते हैं तो सत्य, अन्यथा असत्य।

संबंधित देखें