Rectangle.op_Equality Method
Compares two rectangles for equality.
Syntax
'Declaration
Public Shared Function op_Equality ( _
a As Rectangle, _
b As Rectangle _
) As Boolean
public static bool op_Equality (
Rectangle a,
Rectangle b
)
public:
static bool op_Equality(
Rectangle a,
Rectangle b
)
Parameters
Return Value
Type: Boolean
true if the rectangles are equal; false otherwise.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone