DtsObject.GetHashCode Method

Definition

Returns the hash code for this instance.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

A 32-bit signed integer that is the hash code for this instance.

Remarks

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.

Applies to