Share via


Size.Inequality(Size, Size) Operator

Definition

Determines whether two sizes have different width or height.

public:
 static bool operator !=(Microsoft::Maui::Graphics::Size s1, Microsoft::Maui::Graphics::Size s2);
public static bool operator !=(Microsoft.Maui.Graphics.Size s1, Microsoft.Maui.Graphics.Size s2);
static member op_Inequality : Microsoft.Maui.Graphics.Size * Microsoft.Maui.Graphics.Size -> bool
Public Shared Operator != (s1 As Size, s2 As Size) As Boolean

Parameters

s1
Size

The first size to compare.

s2
Size

The second size to compare.

Returns

true if the sizes have different width or height; otherwise, false.

Applies to