다음을 통해 공유


GetHashCode 메서드

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. Gets the hash code for the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Public MustOverride Function GetHashCode As Integer
‘사용 방법
Dim instance As SfcKey
Dim returnValue As Integer

returnValue = instance.GetHashCode()
public abstract int GetHashCode()
public:
virtual int GetHashCode() abstract override
override GetHashCode : unit -> int 
public abstract 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.