Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSHostUserInterface.Write Method

 

Updated: April 27, 2016

Applies To: Windows PowerShell

When overridden in a derived class, writes characters to the screen buffer. The variants of this method can write characters by themselves or write characters with foreground and background colors.

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

NameDescription
System_CAPS_pubmethodWrite(ConsoleColor, ConsoleColor, String)

When overridden in a derived class, writes characters to the output display of the host with possible foreground and background colors.

System_CAPS_pubmethodWrite(String)

When overridden in a derived class, writes characters to the output display of the host.

This method does not append a newline (carriage return) character. To write a line with an appended newline character, see the WriteLine method.

Return to top

Community Additions

Show: