KeyboardState.Equals Method

Returns a value that indicates whether the current instance is equal to a specified object.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public override bool Equals (
         Object obj
)

Parameters

  • obj
    Type: Object
    Object to compare this object to.

Return Value

true if the objects are the same; false otherwise.

See Also

Reference

KeyboardState Structure
KeyboardState Members
Microsoft.Xna.Framework.Input Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone