Partilhar via


IEqualityOperators<TSelf,TOther,TResult>.Inequality Operador

Definição

Compara dois valores para determinar a desigualdade.

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

O valor a ser comparado com right.

right
TOther

O valor a ser comparado com left.

Retornos

TResult

true se left não for igual a right; caso contrário, false.

Aplica-se a