System::Collections::Generic::operator== method
System::Collections::Generic::operator== method
Compares two key-value pairs using ’equals’ semantics. Uses operator == or EqualsTo method for both keys and values, whichever is defined.
template<typename TKey,typename TValue> bool System::Collections::Generic::operator==(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
Parameter | Description |
---|---|
TKey | Key type. |
TValue | Value type. |
Parameter | Type | Description |
---|---|---|
left | const KeyValuePair<TKey, TValue>& | LHS operand. |
right | const KeyValuePair<TKey, TValue>& | RHS operand. |
ReturnValue
True if both keys and values match, false otherwise.
See Also
- Class KeyValuePair
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++