Редагувати

Поділитися через


Size.Equality(Size, Size) Operator

Definition

Compares two instances of Size for equality.

public:
 static bool operator ==(System::Windows::Size size1, System::Windows::Size size2);
public static bool operator == (System.Windows.Size size1, System.Windows.Size size2);
static member ( = ) : System.Windows.Size * System.Windows.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.

Applies to