RectangleF.op_Inequality

RectangleF Inequality operator

Tests whether two RectangleF structures differ in location or size.

public static bool operator !=(RectangleF left, RectangleF right)
ParameterTypeDescription
leftRectangleFThe RectangleF structure that is to the left of the inequality operator.
rightRectangleFThe RectangleF structure that is to the right of the inequality operator.

Return Value

This operator returns true if any of the X, Y, Width, or Height properties of the two Rectangle structures are unequal; otherwise false.

See Also