Freigeben über


RectangleD.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The Object to test.

Returns

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.

Applies to