Int32Rect.Inequality(Int32Rect, Int32Rect) 演算子

定義

2 つの四角形を比較し、等しくないかどうかを判断します。Compares two rectangles for inequality.

public:
 static bool operator !=(System::Windows::Int32Rect int32Rect1, System::Windows::Int32Rect int32Rect2);
public static bool operator != (System.Windows.Int32Rect int32Rect1, System.Windows.Int32Rect int32Rect2);
static member op_Inequality : System.Windows.Int32Rect * System.Windows.Int32Rect -> bool
Public Shared Operator != (int32Rect1 As Int32Rect, int32Rect2 As Int32Rect) As Boolean

パラメーター

int32Rect1
Int32Rect

最初に比較する四角形。The first rectangle to compare.

int32Rect2
Int32Rect

2 番目に比較する四角形。The second rectangle to compare.

戻り値

int32Rect1int32Rect2 が同じ XYWidth、および Height を持つ場合は false。これらすべての値が一致する場合は truefalse if int32Rect1 and int32Rect2 have the same X, Y, Width, and Height; otherwise, if all of these values are the same, then true.

注釈

この演算子の同等のメソッドは、のEquals否定です。The equivalent method for this operator is the negation of Equals.

適用対象