Int32Rect.Equality(Int32Rect, Int32Rect) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- int32Rect1
- Int32Rect
The first rectangle to compare.
- int32Rect2
- Int32Rect
The second rectangle to compare.
Returns
true
if int32Rect1
and int32Rect2
have the same X, Y, Width, and Height; otherwise, false
.
Remarks
The equivalent method for this operator is Int32Rect.Equals(Int32Rect, Int32Rect)
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.