PSHostUserInterface.GetFormatStyleString 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.
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.