This documentation is archived and is not being maintained.
Point4D.Equals Method (Object)
Visual Studio 2010
Assembly: PresentationCore (in PresentationCore.dll)
- Type: System.Object
The object to compare.
// Compares an Object and a Point4D for equality using the non-static Equals method. Point4D point1 = new Point4D(10, 5, 1, 4); Point4D point2 = new Point4D(15, 40, 60, 75); Boolean areEqual; areEqual = point1.Equals(point2); // areEqual is False. point2 is a Point4D structure, but it is not equal to point1. // Displaying Results syntaxString = "areEqual = point1.Equals(point2);"; resultType = "Boolean"; operationString = "Checking if two 3D points are equal"; ShowResults(areEqual.ToString(), syntaxString, resultType, operationString);
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.