System::Collections::Generic::operator== Methode
System::Collections::Generic::operator== method
Vergleicht zwei Schlüssel-Wert-Paare mit ’equals’-Semantik. Verwendet den Operator == oder die EqualsTo-Methode für sowohl Schlüssel als auch Werte, je nachdem, was definiert ist.
template<typename TKey,typename TValue> bool System::Collections::Generic::operator==(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
| Parameter | Beschreibung |
|---|---|
| TKey | Schlüsseltyp. |
| TValue | Werttyp. |
| Parameter | Typ | Beschreibung |
|---|---|---|
| links | const KeyValuePair<TKey, TValue>& | LHS-Operand. |
| rechts | const KeyValuePair<TKey, TValue>& | RHS-Operand. |
ReturnValue
Wahr, wenn sowohl Schlüssel als auch Werte übereinstimmen, sonst falsch.
Siehe auch
- Class KeyValuePair
- Namespace System::Collections::Generic
- Library Aspose.Font for C++