KeyboardState.op_Equality Method
Compares two objects to determine whether they are the same.
Syntax
'Declaration
Public Shared Function op_Equality ( _
a As KeyboardState, _
b As KeyboardState _
) As Boolean
public static bool op_Equality (
KeyboardState a,
KeyboardState b
)
public:
static bool op_Equality(
KeyboardState a,
KeyboardState b
)
Parameters
- a
Type: KeyboardState
Object to the left of the equality operator. - b
Type: KeyboardState
Object to the right of the equality operator.
Return Value
Type: Boolean
true if the objects are the same; false otherwise.
Requirements
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
KeyboardState Structure
KeyboardState Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Windows Phone