次の方法で共有


User.GetHashCode メソッド

データ コントラクト ユーザーのハッシュ コードを取得します。

名前空間:  Microsoft.MasterDataServices.Services.DataContracts
アセンブリ:  Microsoft.MasterDataServices.Services.Contracts (Microsoft.MasterDataServices.Services.Contracts.dll)

構文

'宣言
Public Overrides Function GetHashCode As Integer
'使用
Dim instance As User 
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
データ コントラクト ユーザーのハッシュ コードです。

関連項目

参照

User クラス

Microsoft.MasterDataServices.Services.DataContracts 名前空間