#
Int32Rect.Inequality(Int32Rect, Int32Rect)
Int32Rect.Inequality(Int32Rect, Int32Rect)
Int32Rect.Inequality(Int32Rect, Int32Rect)
Int32Rect.Inequality(Int32Rect, Int32Rect)
Operator

## Definition

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`

#### Parameters

#### Returns

`false`

if `int32Rect1`

and `int32Rect2`

have the same X, Y, Width, and Height; otherwise, if all of these values are the same, then `true`

.

## Remarks

The equivalent method for this operator is the negation of Equals.