Share via


EncodingInfo.GetHashCode 方法

定義

傳回目前 EncodingInfo 物件的雜湊碼。

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

傳回

Int32

32 位元帶正負號的整數雜湊碼。

備註

方法傳 GetHashCode 回的值不適合區分一個物件與另一個 EncodingInfo 物件。 如果您的應用程式需要唯一的雜湊碼,它應該覆寫 GetHashCode 方法。

適用於