SizeF.Inequality(SizeF, SizeF) Operator

Definition

Tests whether two SizeF structures are different.

public:
 static bool operator !=(System::Drawing::SizeF sz1, System::Drawing::SizeF sz2);
public static bool operator != (System.Drawing.SizeF sz1, System.Drawing.SizeF sz2);
static member op_Inequality : System.Drawing.SizeF * System.Drawing.SizeF -> bool
Public Shared Operator != (sz1 As SizeF, sz2 As SizeF) As Boolean

Parameters

sz1
SizeF

The SizeF structure on the left of the inequality operator.

sz2
SizeF

The SizeF structure on the right of the inequality operator.

Returns

true if sz1 and sz2 differ either in width or height; false if sz1 and sz2 are equal.

Applies to