RectangleF.Inequality Operator (RectangleF, RectangleF)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Tests whether two RectangleF structures differ in location or size.

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

public static bool operator !=(
	RectangleF left,
	RectangleF right
)

Parameters

left
Type: System.Drawing.RectangleF

The RectangleF structure that is to the left of the inequality operator.

right
Type: System.Drawing.RectangleF

The RectangleF structure that is to the right of the inequality operator.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top
Show: