PSHostUserInterface.GetOutputString(String, Boolean) 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 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.