Tests whether are keys presses synchronously (reads the state from the Windows message queue but does not test the actual state of the device).
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- keys
- Type: array<
System.Windows.Forms..::.Keys
>[]()[]
Keys.
Return Value
Returns trueTruetruetrue (True in Visual Basic) if keys are presses.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | keys is nullNothingnullptra null reference (Nothing in Visual Basic). |