SizeF::Equality Operator (SizeF, SizeF)

 

Tests whether two SizeF structures are equal.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
static bool operator ==(
	SizeF sz1,
	SizeF sz2
)

Parameters

sz1
Type: System.Drawing::SizeF

The SizeF structure on the left side of the equality operator.

sz2
Type: System.Drawing::SizeF

The SizeF structure on the right of the equality operator.

Return Value

Type: System::Boolean

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

.NET Framework
Available since 1.1
Return to top
Show: