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

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

Compares two key-value pairs using inverse ’equals’ semantics.

template<typename TKey,typename TValue> bool System::Collections::Generic::operator!=(const KeyValuePair<TKey, TValue> &left, const KeyValuePair<TKey, TValue> &right)
ParameterDescription
TKeyKey type.
TValueValue type.
ParameterTypeDescription
leftconst KeyValuePair<TKey, TValue>&LHS operand.
rightconst KeyValuePair<TKey, TValue>&RHS operand.

ReturnValue

True if both keys and values don’t match, false otherwise.

See Also