# Int32Rect.Equality(Int32Rect, Int32Rect)Int32Rect.Equality(Int32Rect, Int32Rect)Int32Rect.Equality(Int32Rect, Int32Rect)Int32Rect.Equality(Int32Rect, Int32Rect) Operator

## 定義

2 つの四角形を比較し、完全に等しいかどうかを判断します。Compares two rectangles for exact equality.

``````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 ( = ) : System.Windows.Int32Rect * System.Windows.Int32Rect -> bool``
``Public Shared Operator == (int32Rect1 As Int32Rect, int32Rect2 As Int32Rect) As Boolean``

#### パラメーター

int32Rect1
Int32Rect Int32Rect Int32Rect Int32Rect

int32Rect2
Int32Rect Int32Rect Int32Rect Int32Rect

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

#### 戻り値

`int32Rect1``int32Rect2` が同じ XYWidth、および Height を持つ場合は `true`。それ以外の場合は `false``true` if `int32Rect1` and `int32Rect2` have the same X, Y, Width, and Height; otherwise, `false`.

## 注釈

この演算子の同等の方法は次のようになります。Int32Rect.Equals(Int32Rect, Int32Rect)The equivalent method for this operator is Int32Rect.Equals(Int32Rect, Int32Rect)