Share via


PSHostUserInterface.WriteLine Method

Definition

Overloads

WriteLine()

The default implementation writes a carriage return to the screen buffer. Write(String)Write(ConsoleColor, ConsoleColor, String)WriteLine(String)WriteLine(ConsoleColor, ConsoleColor, String)

WriteLine(String)

Writes characters to the screen buffer, and appends a carriage return.

WriteLine(ConsoleColor, ConsoleColor, String)

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

WriteLine()

public:
 virtual void WriteLine();

Applies to

WriteLine(String)

Writes characters to the screen buffer, and appends a carriage return.

public:
 abstract void WriteLine(System::String ^ value);

Parameters

value
String

The characters to be written. null is not allowed.

See also

Applies to

WriteLine(ConsoleColor, ConsoleColor, String)

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

public:
 virtual void WriteLine(ConsoleColor foregroundColor, ConsoleColor backgroundColor, System::String ^ value);

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