Comparteix a través de


IEqualityOperators<TSelf,TOther,TResult>.Inequality Operador

Definición

Compara dos valores para determinar la desigualdad.

public:
 static TResult operator !=(TSelf left, TOther right);
public static abstract TResult operator != (TSelf? left, TOther? right);
static member op_Inequality : 'Self * 'Other -> 'Result
Public Shared Operator != (left As TSelf, right As TOther) As TResult

Parámetros

left
TSelf

Valor que se va a comparar con right.

right
TOther

Valor que se va a comparar con left.

Devoluciones

TResult

Es true si left no es igual a right; en caso contrario, es false.

Se aplica a