PSStyle.MapBackgroundColorToEscapeSequence(ConsoleColor) 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.
Return the VT escape sequence for a background color.
public static string MapBackgroundColorToEscapeSequence (ConsoleColor backgroundColor);
static member MapBackgroundColorToEscapeSequence : ConsoleColor -> string
Public Shared Function MapBackgroundColorToEscapeSequence (backgroundColor As ConsoleColor) As String
Parameters
- backgroundColor
- ConsoleColor
The background color to be mapped from.
Returns
The VT escape sequence representing the background color.