Tests whether obj is a RectangleD with the same location and size of this RectangleD.

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
C#
public override bool Equals(
	Object obj
)
Visual C++
public:
virtual bool Equals(
	Object^ obj
) override
JavaScript
function equals(obj);

Parameters

obj
Type: System..::..Object
The Object to test.

Return Value

This method returns true if obj is a RectangleD and its X, Y, Width, and Height properties are equal to the corresponding properties of this RectangleD; otherwise, false.

See Also