StringWriter.WriteLine Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- 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
.NET 10 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.1 |
- 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
.NET 10 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: