SizeF.op_Equality

SizeF Equality operator

Tests whether two SizeF structures are equal.

public static bool operator ==(SizeF sz1, SizeF sz2)
ParameterTypeDescription
sz1SizeFThe SizeF structure on the left side of the equality operator.
sz2SizeFThe SizeF structure on the right of the equality operator.

Return Value

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

See Also