Size.Equality(Size, Size) Operador

Definición

Compara dos instancias de Size para determinar si son iguales.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

Parámetros

size1
Size

Primera instancia de Size que se va a comparar.The first instance of Size to compare.

size2
Size

Segunda instancia de Size que se va a comparar.The second instance of Size to compare.

Devoluciones

true si las dos instancias de Size son iguales; de lo contrario, es false.true if the two instances of Size are equal; otherwise false.

Se aplica a