次の方法で共有


Utility.Key.GetHashCode メソッド

このインスタンスのハッシュ コードを返します。

名前空間:  Microsoft.SqlServer.Management.Utility
アセンブリ:  Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)

構文

'宣言
Public Overrides Function GetHashCode As Integer
'使用
Dim instance As Utility.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
このインスタンスの 32 ビット符号付き整数のハッシュ コードです。

関連項目

参照

Utility.Key クラス

Microsoft.SqlServer.Management.Utility 名前空間