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

## Definición

Compara dos rectángulos para determinar si son exactamente iguales.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``

#### Parámetros

int32Rect1
Int32Rect Int32Rect Int32Rect Int32Rect

Primer rectángulo que se va a comparar.The first rectangle to compare.

int32Rect2
Int32Rect Int32Rect Int32Rect Int32Rect

Segundo rectángulo que se va a comparar.The second rectangle to compare.

#### Devoluciones

`true` si `int32Rect1` y `int32Rect2` tienen los mismos valores para X, Y, Width y Height; en caso contrario, es `false`.`true` if `int32Rect1` and `int32Rect2` have the same X, Y, Width, and Height; otherwise, `false`.

## Comentarios

Es el método equivalente para este operador Int32Rect.Equals(Int32Rect, Int32Rect)The equivalent method for this operator is Int32Rect.Equals(Int32Rect, Int32Rect)