Share via


Rectangle.Equality(Rectangle, Rectangle) Operator

Definition

Compares two instances for equality.

public:
 static bool operator ==(System::Management::Automation::Host::Rectangle first, System::Management::Automation::Host::Rectangle second);
public static bool operator == (System.Management.Automation.Host.Rectangle first, System.Management.Automation.Host.Rectangle second);
static member ( = ) : System.Management.Automation.Host.Rectangle * System.Management.Automation.Host.Rectangle -> bool
Public Shared Operator == (first As Rectangle, second As Rectangle) As Boolean

Parameters

first
Rectangle

The left side operand.

second
Rectangle

The right side operand.

Returns

true if the respective Top, Left, Bottom, and Right fields are the same, false otherwise.

Applies to