Compartilhar via


PSStyle.MapForegroundColorToEscapeSequence(ConsoleColor) Method

Definition

Return the VT escape sequence for a foreground color.

public static string MapForegroundColorToEscapeSequence (ConsoleColor foregroundColor);
static member MapForegroundColorToEscapeSequence : ConsoleColor -> string
Public Shared Function MapForegroundColorToEscapeSequence (foregroundColor As ConsoleColor) As String

Parameters

foregroundColor
ConsoleColor

The foreground color to be mapped from.

Returns

The VT escape sequence representing the foreground color.

Applies to