HashCode.Equals(Object) Metode

Definisi

Perhatian

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

Metode ini tidak didukung dan tidak boleh dipanggil.

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

Parameter

obj
Object

Diabaikan.

Mengembalikan

Metode ini akan selalu melemparkan NotSupportedException.

Atribut

Pengecualian

Selalu dilemparkan ketika metode ini dipanggil.

Berlaku untuk