Upraviť

Zdieľať cez


Size.Equality(Size, Size) Operator

Definition

Compares two instances of Size for equality.

public:
 static bool operator ==(Windows::Foundation::Size size1, Windows::Foundation::Size size2);
public static bool operator == (Windows.Foundation.Size size1, Windows.Foundation.Size size2);
static member ( = ) : Windows.Foundation.Size * Windows.Foundation.Size -> bool
Public Shared Operator == (size1 As Size, size2 As Size) As Boolean

Parameters

size1
Size

The first instance of Size to compare.

size2
Size

The second instance of Size to compare.

Returns

true if the two instances of Size are equal; otherwise, false.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Size struct. For more information, see Size in the UWP API reference.

Applies to