ConsoleKeyInfo.Inequality(ConsoleKeyInfo, ConsoleKeyInfo) ConsoleKeyInfo.Inequality(ConsoleKeyInfo, ConsoleKeyInfo) ConsoleKeyInfo.Inequality(ConsoleKeyInfo, ConsoleKeyInfo) ConsoleKeyInfo.Inequality(ConsoleKeyInfo, ConsoleKeyInfo) Operator

Definición

Indica si los objetos ConsoleKeyInfo especificados no son iguales.Indicates whether the specified ConsoleKeyInfo objects are not equal.

public:
 static bool operator !=(ConsoleKeyInfo a, ConsoleKeyInfo b);
public static bool operator != (ConsoleKeyInfo a, ConsoleKeyInfo b);
static member op_Inequality : ConsoleKeyInfo * ConsoleKeyInfo -> bool
Public Shared Operator != (a As ConsoleKeyInfo, b As ConsoleKeyInfo) As Boolean

Parámetros

a
ConsoleKeyInfo ConsoleKeyInfo ConsoleKeyInfo ConsoleKeyInfo

Primer objeto que se va a comparar.The first object to compare.

b
ConsoleKeyInfo ConsoleKeyInfo ConsoleKeyInfo ConsoleKeyInfo

Segundo objeto que se va a comparar.The second object to compare.

Devoluciones

Es true si a no es igual a b; en caso contrario, es false.true if a is not equal to b; otherwise, false.

Comentarios

Dos ConsoleKeyInfo objetos son iguales si sus propiedades KeyChar, Keyy Modifiers correspondientes son iguales.Two ConsoleKeyInfo objects are equal if their corresponding KeyChar, Key, and Modifiers properties are equal.

Se aplica a