System::Collections::Generic::operator!= metod

System::Collections::Generic::operator!= method

Jämför två nyckel‑värde‑par med omvänd ’equals’‑semantik.

template<typename TKey,typename TValue> bool System::Collections::Generic::operator!=(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
ParameterBeskrivning
TKeyNyckeltyp.
TValueVärdetyp.
ParameterTypBeskrivning
vänsterconst KeyValuePair<TKey, TValue>&Vänster operand.
högerconst KeyValuePair<TKey, TValue>&Höger operand.

ReturnValue

Sant om både nycklar och värden inte matchar, falskt annars.

Se även