GetHashCode 메서드

Gets the hash code for the object.

네임스페이스:  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
A Int32 value that specifies the hash code.

주의

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