Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Microsoft Developer Network
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Win32 and COM Development
Please Wait
Administration and Management
Please Wait
Windows PowerShell
Please Wait
Windows PowerShell SDK
Please Wait
Windows PowerShell Managed Referenc...
Please Wait
System.Management.Automation.Host
Please Wait
PSHostRawUserInterface Class
Please Wait
PSHostRawUserInterface Methods
Please Wait
ReadKey Method
Please Wait
Switch on low bandwidth view
Collapse All
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
Reference
PSHostRawUserInterface Class
PSHostRawUserInterface Members
System.Management.Automation.Host Namespace
Other Resources
Windows PowerShell SDK
Send comments about this topic to Microsoft.
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement