Int32Rect.Equality(Int32Rect, Int32Rect) Operator

Definition

Jämför två rektanglar för exakt likhet.

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

Parametrar

int32Rect1
Int32Rect

Den första rektangel som ska jämföras.

int32Rect2
Int32Rect

Den andra rektangel som ska jämföras.

Returer

true if int32Rect1 och int32Rect2 have the same X, Y, Width, and Height; otherwise, false.

Kommentarer

Motsvarande metod för den här operatorn är Int32Rect.Equals(Int32Rect, Int32Rect)

Gäller för