Int32Rect.Inequality(Int32Rect, Int32Rect) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較兩個矩形以求不等式。
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
第一個比較的矩形。
- int32Rect2
- Int32Rect
第二個長方形來比較。
傳回
false 若 int32Rect1 與 int32Rect2 具有相同的 X、 Y、 Width、 Height;否則,若這些值皆相同,則 true。
備註
此算符的等價方法是 的 Equals否定。