PSHostUserInterface.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Write(ConsoleColor, ConsoleColor, String)
- WriteLine()
- WriteLine(String)
- WriteLine(ConsoleColor, ConsoleColor, String)
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.