FileIOPermission.GetHashCode FileIOPermission.GetHashCode FileIOPermission.GetHashCode FileIOPermission.GetHashCode Method

定義

取得 FileIOPermission 物件的雜湊碼,其適合用於雜湊表這類的雜湊演算法和資料結構。Gets a hash code for the FileIOPermission object that is suitable for use in hashing algorithms and data structures such as a hash table.

public:
 override int GetHashCode();
[System.Runtime.InteropServices.ComVisible(false)]
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

傳回

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

備註

兩個相同的權限執行個體的雜湊程式碼可能會不同,因此雜湊程式碼應該不會用來比較兩個FileIOPermission物件。The hash code for two instances of the same permission might be different, hence a hash code should not be used to compare two FileIOPermission objects.

適用於