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


Membandingkan dua pasangan kunci-nilai menggunakan semantik 'equals'. Menggunakan operator == atau metode EqualsTo untuk kedua kunci dan nilai, mana pun yang didefinisikan.

```cpp
template<typename TKey,typename TValue> bool System::Collections::Generic::operator==(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
```


| Parameter | Deskripsi |
| --- | --- |
| TKey | Tipe kunci. |
| TValue | Tipe nilai. |

| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| kiri | const KeyValuePair\<TKey, TValue\>\& | Operand LHS. |
| kanan | const KeyValuePair\<TKey, TValue\>\& | Operand RHS. |

### ReturnValue

Benar jika kedua kunci dan nilai cocok, salah jika tidak.

## Lihat Juga

* Class [KeyValuePair](../keyvaluepair/)
* Namespace [System::Collections::Generic](../)
* Library [Aspose.Page for C++](../../)
