System.IO.TextWriter.WriteLineAsync Method

Writes an array of characters followed by a line terminator asynchronously to the text string or stream.

Syntax

public System.Threading.Tasks.Task WriteLineAsync (char[] buffer)

Parameters

buffer
The character array to write to the text stream. If the character array is null, only the line terminator is written.

Returns

A task that represents the asynchronous write operation.

Remarks

The line terminator is defined by the TextWriter.CoreNewLine field.

Requirements

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