HashCode.GetHashCode Metoda

Definicja

Przestroga

HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.

Ta metoda nie jest obsługiwana i nie powinna być wywoływana.

public:
 override int GetHashCode();
[System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)]
public override int GetHashCode ();
[<System.Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Zwraca

Ta metoda zawsze będzie zgłaszać wartość NotSupportedException.

Atrybuty

Wyjątki

Zawsze zgłaszany, gdy ta metoda jest wywoływana.

Dotyczy