Condividi tramite


Int32Rect.Equality(Int32Rect, Int32Rect) Operatore

Definizione

Confronta due rettangoli per verificarne l’esatta uguaglianza.

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

Parametri

int32Rect1
Int32Rect

Primo rettangolo da confrontare.

int32Rect2
Int32Rect

Secondo rettangolo da confrontare.

Restituisce

Boolean

true se int32Rect1 e int32Rect2 hanno gli stessi valori X, Y, Width e Height. In caso contrario false.

Commenti

Il metodo equivalente per questo operatore è Int32Rect.Equals(Int32Rect, Int32Rect)

Si applica a