طريقة System::Collections::Generic::operator==
System::Collections::Generic::operator== method
يقارن زوجي مفتاح-قيمة باستخدام دلالة ’equals’. يستخدم العامل == أو طريقة EqualsTo لكل من المفاتيح والقيم، أيًا كان معرفًا.
template<typename TKey,typename TValue> bool System::Collections::Generic::operator==(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
| Parameter | الوصف |
|---|---|
| TKey | نوع المفتاح. |
| TValue | نوع القيمة. |
| Parameter | Type | الوصف |
|---|---|---|
| يسار | const KeyValuePair<TKey, TValue>& | المعامل LHS. |
| يمين | const KeyValuePair<TKey, TValue>& | المعامل RHS. |
ReturnValue
صحيح إذا تطابقت المفاتيح والقيم، خطأ خلاف ذلك.
انظر أيضًا
- Class KeyValuePair
- Namespace System::Collections::Generic
- Library Aspose.Page for C++