Int32Rect.Equality(Int32Rect, Int32Rect) Operátor

Definice

Porovná dva obdélníky pro přesnou rovnost.

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

Parametry

int32Rect1
Int32Rect

První obdélník, který chcete porovnat.

int32Rect2
Int32Rect

Druhý obdélník, který chcete porovnat.

Návraty

Boolean

true pokud int32Rect1 a int32Rect2 mají stejné X, Y, Width, a Height; v opačném případě , false.

Poznámky

Ekvivalentní metoda tohoto operátoru je Int32Rect.Equals(Int32Rect, Int32Rect)

Platí pro