GetHashCode 方法

Gets the hash code for the DAC domain key.

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

语法

声明
Public Overrides Function GetHashCode As Integer
用法
Dim instance As DacDomain..::..Key
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
A Int32 value that specifies the hash code.

注释

The method serves as a hash function for the DAC domain. It is suitable for use in hashing algorithms and data structures like a hash table.