HashCode.Equals(Object) Método

Definición

Precaución

HashCode is a mutable struct and should not be compared with other HashCodes.

No se admite este método y no se debe llamar a .

public:
 override bool Equals(System::Object ^ obj);
[System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", true)]
public override bool Equals(object? obj);
[System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", true)]
public override bool Equals(object obj);
[<System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", true)>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parámetros

obj
Object

Ignorado.

Devoluciones

Este método siempre producirá una NotSupportedExceptionexcepción .

Atributos

Excepciones

Siempre se produce cuando se llama a este método.

Se aplica a