HashCode.Equals(Object) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Figyelemfelhívás
HashCode is a mutable struct and should not be compared with other HashCodes.
Ez a metódus nem támogatott, ezért nem hívható meg.
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éterek
- obj
- Object
Figyelmen kívül hagyott.
Válaszok
Ez a módszer mindig dob egy NotSupportedException.
- Attribútumok
Kivételek
Ezt a metódust mindig a metódus meghívásakor kell eldobni.