ManagementBaseObject.GetHashCode 方法

定義

做為特定類型的雜湊函數,適用於雜湊演算法和資料結構 (例如雜湊資料表)。Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

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

傳回

Int32

目前物件的雜湊碼。A hash code for the current object.

備註

.NET Framework 安全性.NET Framework Security

完全信任立即呼叫者。Full trust for the immediate caller. 這個成員無法供部分信任的程式碼使用。This member cannot be used by partially trusted code. 如需詳細資訊,請參閱從部分信任的程式碼使用程式庫For more information, see Using Libraries from Partially Trusted Code.

適用於