Partager via


HashCode.Equals(Object) Méthode

Définition

Attention

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

Cette méthode n’est pas prise en charge et ne doit pas être appelée.

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

Paramètres

obj
Object

Ignoré.

Retours

Boolean

Cette méthode lève toujours un NotSupportedException.

Attributs

Exceptions

Toujours levé quand cette méthode est appelée.

S’applique à