Waits for the given time with the possibility of interrupting by pressing the key.

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

Syntax

C#
public Keys WaitForKeyMs(
	int millisTimeout,
	bool key
)

Parameters

millisTimeout
Type: System..::.Int32
The timeout in milliseconds.
key
Type: System..::.Boolean
Defines whether the waiting can be interrupted by a key press.

Return Value

Returns the key that was pressed to interrupt the waiting.

See Also