HashCode.Equals(Object) Metod

Definition

Varning

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

Den här metoden stöds inte och bör inte anropas.

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

Parametrar

obj
Object

Ignoreras.

Returer

Den här metoden genererar alltid en NotSupportedException.

Attribut

Undantag

Genereras alltid när den här metoden anropas.

Gäller för