HashCode.Equals(Object) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.