MouseState.op_Equality Method
Determines whether two MouseState instances are equal.
Syntax
'Declaration
Public Shared Function op_Equality ( _
left As MouseState, _
right As MouseState _
) As Boolean
public static bool op_Equality (
MouseState left,
MouseState right
)
public:
static bool op_Equality(
MouseState left,
MouseState right
)
Parameters
- left
Type: MouseState
Object on the left of the equal sign. - right
Type: MouseState
Object on the right of the equal sign.
Return Value
Type: Boolean
true if the instances are equal; false otherwise.
Requirements
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
MouseState Structure
MouseState Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Windows Phone