RectangleF.Inequality(RectangleF, RectangleF) 運算子

定義

測試兩個 RectangleF 結構的位置或大小是否不同。

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

參數

left
RectangleF

RectangleF 結構,位在不等比較運算子的左方。

right
RectangleF

RectangleF 結構,位在不等比較運算子的右方。

傳回

若兩個 Rectangle 結構的 XYWidthHeight 屬性有任何一個不相等,則為 true;否則為 false

適用於