Indicates whether a key is pressed.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public bool IsKeyPressed(
	Keys key
)

Parameters

key
Type: System.Windows.Forms..::.Keys
Key to be tested.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the key is pressed.

See Also