GetHashCode 方法

充当特定类型的哈希函数,适用于哈希算法以及哈希表之类的数据结构中。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Overrides Function GetHashCode As Integer
用法
Dim instance As [Property]
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 值。

示例

设置属性