PSStyle.MapBackgroundColorToEscapeSequence(ConsoleColor) Method

Definition

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.

Applies to