TypeToken.Equals Método

Definição

Indica se a instância atual é igual ao objeto especificado.Indicates whether the current instance is equal to a specified object.

Sobrecargas

Equals(Object)

Verifica se o objeto fornecido é uma instância de TypeToken e é igual a esta instância.Checks if the given object is an instance of TypeToken and is equal to this instance.

Equals(TypeToken)

Indica se a instância atual é igual ao TypeToken especificado.Indicates whether the current instance is equal to the specified TypeToken.

Equals(Object)

Verifica se o objeto fornecido é uma instância de TypeToken e é igual a esta instância.Checks if the given object is an instance of TypeToken and is equal to this instance.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parâmetros

obj
Object

O objeto a ser comparado com esse TypeToken.The object to compare with this TypeToken.

Retornos

Boolean

true se obj for uma instância de TypeToken e for igual a este objeto; caso contrário, false.true if obj is an instance of TypeToken and is equal to this object; otherwise, false.

Aplica-se a

Equals(TypeToken)

Indica se a instância atual é igual ao TypeToken especificado.Indicates whether the current instance is equal to the specified TypeToken.

public:
 bool Equals(System::Reflection::Emit::TypeToken obj);
public bool Equals (System.Reflection.Emit.TypeToken obj);
override this.Equals : System.Reflection.Emit.TypeToken -> bool
Public Function Equals (obj As TypeToken) As Boolean

Parâmetros

obj
TypeToken

O TypeToken a ser comparado com a instância atual.The TypeToken to compare to the current instance.

Retornos

Boolean

true se o valor de obj for igual ao valor da instância atual; caso contrário, false.true if the value of obj is equal to the value of the current instance; otherwise, false.

Aplica-se a