Redigera

Dela via


Size.Inequality(Size, Size) Operator

Definition

Compares two instances of Size for inequality.

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 op_Inequality : 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 instances of Size are not 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