Click to Rate and Give Feedback

  Switch on low bandwidth view
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.
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.
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker