DtsObject.GetHashCode 메서드

Returns the hash code for this instance.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Overrides Function GetHashCode As Integer
‘사용 방법
Dim instance As DtsObject 
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 that is the hash code for this instance.

주의

The GetHashCode method applies to types derived from ValueType. One or more fields of the derived type are used to calculate the return value. If one or more of those fields contains a mutable value, the return value might be unpredictable and unsuitable for use as a key in a hash table. In that case, consider writing your own implementation of GetHashCode that more closely represents the concept of a hash code for the type. For more information, see Object.HashCode and Hashtable Class in the System.Collections namespace.

참고 항목

참조

DtsObject 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스