PSHostRawUserInterface.ReadKey Method
Reads a key from the keyboard device. The variants of this method can read the key with or without required keystroke options.
Overload List

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.
See Also

Send comments about this topic to Microsoft.
Page view tracker