Windows Dev Center

TextWriter.WriteLine Method (Char())

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

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

'Declaration
Public Overridable Sub WriteLine ( _
	buffer As Char() _
)

Parameters

buffer
Type: System.Char ()
The character array from which data is read.

ExceptionCondition
ObjectDisposedException

The TextWriter is closed.

IOException

An I/O error occurs.

All the characters in buffer are written to the underlying stream. If the character array is Nothing, only the line terminator is written.

This version of WriteLine is equivalent to Write followed by WriteLine.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft