HierarchyId.GetHashCode 方法
適用於版本2
取得 HierarchyId 的雜湊碼。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Overridable Function GetHashCode As Integer
'用途
Dim instance As HierarchyId
Dim returnValue As Integer
returnValue = instance.GetHashCode()
public virtual int GetHashCode()
public:
virtual int GetHashCode()
abstract GetHashCode : unit -> int
override GetHashCode : unit -> int
public function GetHashCode() : int
傳回值
型別:System.Int32
雜湊碼。