Bagikan melalui


NonCryptographicHashAlgorithm.GetHashCode Metode

Definisi

Perhatian

Use GetCurrentHash() to retrieve the computed hash code.

Metode ini tidak didukung dan tidak boleh dipanggil. Hubungi GetCurrentHash() atau GetHashAndReset() sebagai gantinya.

public:
 override int GetHashCode();
[System.Obsolete("Use GetCurrentHash() to retrieve the computed hash code.", true)]
public override int GetHashCode ();
[<System.Obsolete("Use GetCurrentHash() to retrieve the computed hash code.", true)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Mengembalikan

Metode ini akan selalu melempar .NotSupportedException

Atribut

Pengecualian

Dalam semua kasus.

Berlaku untuk