HashCode.Equals(Object) Метод

Определение

Внимание

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

Этот метод не поддерживается и не должен вызываться.

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

Параметры

obj
Object

Проигнорировано.

Возвращаемое значение

Этот метод всегда создает NotSupportedExceptionисключение.

Атрибуты

Исключения

Всегда возникает при вызове этого метода.

Применяется к