Int32Rect.Equality(Int32Rect, Int32Rect) Operator

Definition

Vergleicht zwei Rechtecke auf genaue Übereinstimmung.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

Parameter

int32Rect1
Int32Rect

Das erste der zu vergleichenden Rechtecke.The first rectangle to compare.

int32Rect2
Int32Rect

Das zweite der zu vergleichenden Rechtecke.The second rectangle to compare.

Gibt zurück

true, wenn int32Rect1 und int32Rect2 über dieselben Werte für X, Y, Width und Height verfügen, andernfalls false.true if int32Rect1 and int32Rect2 have the same X, Y, Width, and Height; otherwise, false.

Hinweise

Die äquivalente Methode für diesen Operator ist.Int32Rect.Equals(Int32Rect, Int32Rect)The equivalent method for this operator is Int32Rect.Equals(Int32Rect, Int32Rect)

Gilt für: