SizeF.op_Equality

SizeF Equality operator

Tests whether two SizeF structures are equal.

public static bool operator ==(SizeF size1, SizeF size2)
ParameterTypeDescription
size1SizeFThe SizeF structure on the left side of the equality operator.
size2SizeFThe SizeF structure on the right of the equality operator.

Return Value

This operator returns true if size1 and size2 have equal width and height; otherwise, false.

See Also