Returns the hash code for this instance.
[Visual Basic] Overrides Public Function GetHashCode() As Integer [C#] public override int GetHashCode(); [C++] public: override int GetHashCode(); [JScript] public override function GetHashCode() : int;
The hash code for this instance. This is the or of the hash code for all of the instance fields, as illustrated by the pseudo-code:
ForEach (instance field in this instance this.X) { if (this.X != null) m_hash |= this.X.GetHashCode(); } return m_hash;