다음을 통해 공유


GetHashCode 메서드

Returns the hash code for this object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Overrides Function GetHashCode As Integer
‘사용 방법
Dim instance As ScriptOption
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.

주의

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

예제

스크립팅