StandardStreamWriter.WriteLine 方法

定义

重载

WriteLine(IStandardStreamWriter)

追加当前环境的行终止符。

WriteLine(IStandardStreamWriter, String)

写入当前字符串值,后跟当前环境的行终止符。

WriteLine(IStandardStreamWriter)

追加当前环境的行终止符。

public:
[System::Runtime::CompilerServices::Extension]
 static void WriteLine(System::CommandLine::IO::IStandardStreamWriter ^ writer);
public static void WriteLine (this System.CommandLine.IO.IStandardStreamWriter writer);
static member WriteLine : System.CommandLine.IO.IStandardStreamWriter -> unit
<Extension()>
Public Sub WriteLine (writer As IStandardStreamWriter)

参数

writer
IStandardStreamWriter

要写入到的编写器。

适用于

WriteLine(IStandardStreamWriter, String)

写入当前字符串值,后跟当前环境的行终止符。

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

参数

writer
IStandardStreamWriter

要写入到的编写器。

value
String

要写入的值。

适用于