System.IO.StreamWriter.WriteLineAsync Method

Writes a subarray of characters followed by a line terminator asynchronously to the stream.

Syntax

public override System.Threading.Tasks.Task WriteLineAsync (char[] buffer, int index, int count)

Parameters

buffer
The character array to write data from.
index
The character position in the buffer at which to start reading data.
count
The maximum number of characters to write.

Returns

A task that represents the asynchronous write operation.

Remarks

The line terminator is defined by the TextWriter.NewLine property.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0