Compartir a través de


Type.Equality(Type, Type) Operador

Definición

Indica si dos objetos Type son iguales.

public:
 static bool operator ==(Type ^ left, Type ^ right);
public static bool operator == (Type? left, Type? right);
public static bool operator == (Type left, Type right);
static member ( = ) : Type * Type -> bool
Public Shared Operator == (left As Type, right As Type) As Boolean

Parámetros

left
Type

Primer objeto que se va a comparar.

right
Type

Segundo objeto que se va a comparar.

Devoluciones

Boolean

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

Se aplica a