Rectangle.Inequality(Rectangle, Rectangle) Operator

Definicja

Sprawdza, czy dwie Rectangle struktury różnią się w zależności od lokalizacji lub rozmiaru.

public:
 static bool operator !=(System::Drawing::Rectangle left, System::Drawing::Rectangle right);
public static bool operator != (System.Drawing.Rectangle left, System.Drawing.Rectangle right);
static member op_Inequality : System.Drawing.Rectangle * System.Drawing.Rectangle -> bool
Public Shared Operator != (left As Rectangle, right As Rectangle) As Boolean

Parametry

left
Rectangle

Struktura Rectangle , która znajduje się po lewej stronie operatora nierówności.

right
Rectangle

Struktura Rectangle , która jest po prawej stronie operatora nierówności.

Zwraca

Ten operator zwraca wartość true , jeśli którakolwiek z Xwłaściwości , YWidth lub Height dwóch Rectangle struktur jest nierówna; w przeciwnym razie false.

Dotyczy