Export (0) Print
Expand All

KeyboardState Members

The following tables list the members exposed by the KeyboardState type.

NameDescription
Public MethodKeyboardStateInitializes a new instance of the KeyboardState class.

NameDescription
Public PropertyItemReturns the state of a particular key.

NameDescription
Public MethodEqualsOverloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public MethodGetHashCodeGets the hash code for this instance.
Public MethodGetPressedKeysGets an array of values that correspond to the keyboard keys that are currently being pressed.
Public MethodGetType (Inherited from Object.)
Public MethodIsKeyDownReturns whether a specified key is currently being pressed.
Public MethodIsKeyUpReturns whether a specified key is currently not pressed.
Public Method Staticop_EqualityCompares two objects to determine whether they are the same.
Public Method Staticop_InequalityCompares two objects to determine whether they are different.
Public MethodReferenceEquals (Inherited from Object.)

NameDescription
Protected MethodFinalize (Inherited from Object.)
Protected MethodMemberwiseClone (Inherited from Object.)

Community Additions

ADD
Show:
© 2014 Microsoft