GetHashCode 方法
不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets the hash code for the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public MustOverride Function GetHashCode As Integer
'用途
Dim instance As SfcKey
Dim returnValue As Integer
returnValue = instance.GetHashCode()
public abstract int GetHashCode()
public:
virtual int GetHashCode() abstract override
override GetHashCode : unit -> int
public abstract function GetHashCode() : int
傳回值
型別:System. . :: . .Int32
A Int32 value that specifies the hash code.
備註
The method serves as a hash function for the object. It is suitable for use in hashing algorithms and data structures like a hash table.