Terminal.GetTerminal(IConsole, Boolean, OutputMode) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public static System.CommandLine.Rendering.ITerminal GetTerminal(this System.CommandLine.IConsole console, bool preferVirtualTerminal = true, System.CommandLine.Rendering.OutputMode outputMode = System.CommandLine.Rendering.OutputMode.Auto);
static member GetTerminal : System.CommandLine.IConsole * bool * System.CommandLine.Rendering.OutputMode -> System.CommandLine.Rendering.ITerminal
<Extension()>
Public Function GetTerminal (console As IConsole, Optional preferVirtualTerminal As Boolean = true, Optional outputMode As OutputMode = System.CommandLine.Rendering.OutputMode.Auto) As ITerminal
參數
- console
- IConsole
- preferVirtualTerminal
- Boolean
- outputMode
- OutputMode