StringWriter.WriteLine StringWriter.WriteLine StringWriter.WriteLine StringWriter.WriteLine Method

Definition

Overloads

WriteLine(ReadOnlySpan<Char>) WriteLine(ReadOnlySpan<Char>) WriteLine(ReadOnlySpan<Char>) WriteLine(ReadOnlySpan<Char>)

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

WriteLine(StringBuilder) WriteLine(StringBuilder) WriteLine(StringBuilder) WriteLine(StringBuilder)

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

WriteLine(ReadOnlySpan<Char>) WriteLine(ReadOnlySpan<Char>) WriteLine(ReadOnlySpan<Char>) WriteLine(ReadOnlySpan<Char>)

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.

WriteLine(StringBuilder) WriteLine(StringBuilder) WriteLine(StringBuilder) WriteLine(StringBuilder)

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 StringBuilder StringBuilder StringBuilder

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

Applies to