PSHostRawUserInterface.ReadKey Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Reads a key from the keyboard device. The variants of this method can read the key with or without required keystroke options.
| Name | Description |
|---|---|
| PSHostRawUserInterface.ReadKey () | Reads a pressed and released keystroke from the keyboard device, blocking processing until a keystroke is typed. |
| PSHostRawUserInterface.ReadKey (ReadKeyOptions) | Reads a pressed, released, or pressed and released keystroke from the keyboard device, blocking processing until a keystroke is typed that matches the specified keystroke options. |
Send comments about this topic to Microsoft.