ConsoleExtensions.WriteLine(IConsole, String) 方法

定义

将当前字符串值(后跟当前环境的行终止符)写入标准输出流。

public:
[System::Runtime::CompilerServices::Extension]
 static void WriteLine(System::CommandLine::IConsole ^ console, System::String ^ value);
public static void WriteLine (this System.CommandLine.IConsole console, string value);
static member WriteLine : System.CommandLine.IConsole * string -> unit
<Extension()>
Public Sub WriteLine (console As IConsole, value As String)

参数

console
IConsole

要写入的控制台。

value
String

要写入的值。

适用于