Uredi

Deli z drugimi prek


SizeF.Equality(SizeF, SizeF) Operator

Definition

Tests whether two SizeF structures are equal.

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 ( = ) : 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 side of the equality operator.

sz2
SizeF

The SizeF structure on the right of the equality operator.

Returns

true if sz1 and sz2 have equal width and height; otherwise, false.

Applies to