Metodo System::Collections::Generic::operator==
System::Collections::Generic::operator== method
Confronta due coppie chiave-valore usando la semantica ’equals’. Utilizza l’operatore == o il metodo EqualsTo per entrambe le chiavi e i valori, a seconda di quale sia definito.
template<typename TKey,typename TValue> bool System::Collections::Generic::operator==(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
| Parametro | Descrizione |
|---|---|
| TKey | Tipo di chiave. |
| TValue | Tipo valore. |
| Parametro | Tipo | Descrizione |
|---|---|---|
| sinistra | const KeyValuePair<TKey, TValue>& | Operando LHS. |
| destra | const KeyValuePair<TKey, TValue>& | Operando RHS. |
ReturnValue
Vero se entrambe le chiavi e i valori corrispondono, falso altrimenti.
Vedi anche
- Class KeyValuePair
- Namespace System::Collections::Generic
- Library Aspose.Page for C++