Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
Other versions are also available for the following:
DtsObject..::.GetHashCode Method

Returns the hash code for this instance.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Visual Basic (Declaration)
Public Overrides Function GetHashCode As Integer
Visual Basic (Usage)
Dim instance As DtsObject
Dim returnValue As Integer

returnValue = instance.GetHashCode()
C#
public override int GetHashCode()
Visual C++
public:
virtual int GetHashCode() override
F#
abstract GetHashCode : unit -> int 
override GetHashCode : unit -> int 
JScript
public override function GetHashCode() : int

Return Value

Type: 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.

© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker