Share via


Rectangle.Inequality(Rectangle, Rectangle) Operator

Definition

Compares two instances for inequality.

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 op_Inequality : 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 any of the respective Top, Left, Bottom, and Right fields are not the same, false otherwise.

Applies to