Export (0) Print
Expand All

PSHostRawUserInterface Class

Defines the low-level host functionality, such as read and write actions, that a host application can implement to support cmdlets that perform character-mode interaction with the user.

Namespace: System.Management.Automation.Host
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As PSHostRawUserInterface

public abstract class PSHostRawUserInterface
public abstract class PSHostRawUserInterface
public abstract class PSHostRawUserInterface

The user interface model is based on a two-dimensional grid of cells referred to as the screen buffer. This buffer, in turn, includes a visible rectangular region called a window. Looking at this buffer in greater detail, each cell of the grid has a character, foreground color, and background color associated with it. When the buffer has input focus, it shows a cursor positioned in one cell.

Keystrokes can be read from the buffer and optionally echoed at the current cursor position.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft