StandardStreamWriter.WriteLine 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
要写入的值。