Partilhar via


Type.Equality(Type, Type) Operador

Definição

Indica se dois objetos Type são iguais.

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

O primeiro objeto a ser comparado.

right
Type

O segundo objeto a ser comparado.

Retornos

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

Aplica-se a