Megosztás a következőn keresztül:


PSHostUserInterface.GetFormatStyleString Method

Definition

Get the ANSI escape sequence for the given format style.

public static string GetFormatStyleString (System.Management.Automation.Host.PSHostUserInterface.FormatStyle formatStyle);
static member GetFormatStyleString : System.Management.Automation.Host.PSHostUserInterface.FormatStyle -> string
Public Shared Function GetFormatStyleString (formatStyle As PSHostUserInterface.FormatStyle) As String

Parameters

formatStyle
PSHostUserInterface.FormatStyle

The format style to get the escape sequence for.

Returns

The ANSI escape sequence for the given format style.

Applies to