Επεξεργασία

Κοινή χρήση μέσω


StringWriter.WriteLine Method

Definition

Overloads

WriteLine(ReadOnlySpan<Char>)

Writes the text representation a span of characters to the string, followed by a line terminator.

WriteLine(StringBuilder)

Writes the text representation of a string builder to the string, followed by a line terminator.

WriteLine(ReadOnlySpan<Char>)

Source:
StringWriter.cs
Source:
StringWriter.cs
Source:
StringWriter.cs

Writes the text representation a span of characters to the string, followed by a line terminator.

public:
 override void WriteLine(ReadOnlySpan<char> buffer);
public override void WriteLine (ReadOnlySpan<char> buffer);
override this.WriteLine : ReadOnlySpan<char> -> unit
Public Overrides Sub WriteLine (buffer As ReadOnlySpan(Of Char))

Parameters

buffer
ReadOnlySpan<Char>

The span of characters to write to the string.

Applies to

WriteLine(StringBuilder)

Source:
StringWriter.cs
Source:
StringWriter.cs
Source:
StringWriter.cs

Writes the text representation of a string builder to the string, followed by a line terminator.

public:
 override void WriteLine(System::Text::StringBuilder ^ value);
public override void WriteLine (System.Text.StringBuilder? value);
override this.WriteLine : System.Text.StringBuilder -> unit
Public Overrides Sub WriteLine (value As StringBuilder)

Parameters

value
StringBuilder

The string, as a string builder, to write to the string.

Applies to