Share via


PSHostUserInterface.Write Method

Definition

Overloads

Write(String)

Writes characters to the screen buffer. Does not append a carriage return.

Write(ConsoleColor, ConsoleColor, String)

Same as Write(String), except that colors can be specified.

Write(String)

Writes characters to the screen buffer. Does not append a carriage return.

public:
 abstract void Write(System::String ^ value);
public:
 abstract void Write(Platform::String ^ value);
 abstract void Write(std::wstring const & value);
public abstract void Write (string value);
abstract member Write : string -> unit
Public MustOverride Sub Write (value As String)

Parameters

value
String

The characters to be written. null is not allowed.

See also

Applies to

Write(ConsoleColor, ConsoleColor, String)

Same as Write(String), except that colors can be specified.

public:
 abstract void Write(ConsoleColor foregroundColor, ConsoleColor backgroundColor, System::String ^ value);
public abstract void Write (ConsoleColor foregroundColor, ConsoleColor backgroundColor, string value);
abstract member Write : ConsoleColor * ConsoleColor * string -> unit
Public MustOverride Sub Write (foregroundColor As ConsoleColor, backgroundColor As ConsoleColor, value As String)

Parameters

foregroundColor
ConsoleColor

The foreground color to display the text with.

backgroundColor
ConsoleColor

The foreground color to display the text with.

value
String

The characters to be written. null is not allowed.

See also

Applies to