共用方式為


GetHashCode 方法

Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Overrides Function GetHashCode As Integer
'用途
Dim instance As Position
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 32-bit signed integer hash code.