Sdílet prostřednictvím


PSHostUserInterface.GetOutputString(String, Boolean) Method

Definition

Get the appropriate output string based on different criteria.

public static string GetOutputString (string text, bool supportsVirtualTerminal);
static member GetOutputString : string * bool -> string
Public Shared Function GetOutputString (text As String, supportsVirtualTerminal As Boolean) As String

Parameters

text
String

The text to format.

supportsVirtualTerminal
Boolean

True if the host supports virtual terminal.

Returns

The formatted text.

Applies to