Rect.Equality(Rect, Rect) 연산자

정의

Rect 구조체가 같은지 비교합니다.

public:
 static bool operator ==(Windows::Foundation::Rect rect1, Windows::Foundation::Rect rect2);
public static bool operator == (Windows.Foundation.Rect rect1, Windows.Foundation.Rect rect2);
static member ( = ) : Windows.Foundation.Rect * Windows.Foundation.Rect -> bool
Public Shared Operator == (rect1 As Rect, rect2 As Rect) As Boolean

매개 변수

rect1
Rect

비교할 첫 번째 사각형입니다.

rect2
Rect

비교할 두 번째 사각형입니다.

반환

Boolean

Rect 구조체의 x, y, width, height 속성 값이 같으면 true이고, 그렇지 않으면 false입니다.

설명

이 구조체는 WinRT (Windows 런타임) 구조체의 .NET 프로젝션을 나타냅니다 Rect . 자세한 내용은 UWP API 참조의 Rect 를 참조 하세요.

이 멤버에 대 한 자세한 내용 및 예제 Rect.Equality 는 .NET FRAMEWORK API 참조에서를 참조 하세요. 예를 들어 WPF 사용을 보여 주고 UWP XAML로 직접 변환 하지 않을 수 있습니다.

적용 대상