Returns the hash code for this Point.
Public Overrides Function GetHashCode As Integer
public override int GetHashCode()
public: virtual int GetHashCode() override
abstract GetHashCode : unit -> int override GetHashCode : unit -> int
The following example shows how to get the hash code of a Point structure.
private int getHashCodeExample() { Point point1 = new Point(10, 5); // Get the hashcode of a Point structure int returnHashCode = point1.GetHashCode(); return returnHashCode; }
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2