NonCryptographicHashAlgorithm.GetHashCode 方法

定義

警告

Use GetCurrentHash() to retrieve the computed hash code.

此方法不被支援,不應被呼叫。 打電話 GetCurrentHash()GetHashAndReset() 改打。

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

傳回

此方法總是拋出 。NotSupportedException

屬性

例外狀況

無論哪種情況。

適用於