GetHashCode 方法
傳回此物件的雜湊碼。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Overrides Function GetHashCode As Integer
'用途
Dim instance As ScriptOption
Dim returnValue As Integer
returnValue = instance.GetHashCode()
public override int GetHashCode()
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int
override GetHashCode : unit -> int
public override function GetHashCode() : int
傳回值
型別:System. . :: . .Int32
指定雜湊碼的 Int32 值。
備註
This method serves as a hash function for the object. It is suitable for use in hashing algorithms and data structures like a hash table.