PolicyCategorySubscription.Key.GetHashCode メソッド

オブジェクトのハッシュ コードを取得します。

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

構文

'宣言
Public Overrides Function GetHashCode As Integer
'使用
Dim instance As PolicyCategorySubscription.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
ハッシュ コードを示す Int32 値です。

説明

このメソッドは、オブジェクトのハッシュ関数として機能します。 ハッシュ アルゴリズムや、ハッシュ テーブルなどのデータ構造での使用に適しています。

関連項目

参照

PolicyCategorySubscription.Key クラス

Microsoft.SqlServer.Management.Dmf 名前空間