แก้ไข

แชร์ผ่าน


Size.Inequality(Size, Size) Operator

Definition

Tests whether two Size structures are different.

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

Parameters

sz1
Size

The Size structure on the left of the inequality operator.

sz2
Size

The Size 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