StreamWriter: WriteLine

WriteLine

Writes the value, then appends the new-line string.



 Public Sub WriteLine(
	  ParamArray Value ( ) As Variant )

Parameters

Value
[ByRef] Variant. The value to be written.

Remarks

The first argument in Value is the output to the string. Any additional arguments are used as formatting information. An argument can be refered to through formatting indexes. A formatting index is an integer enclosed in curly braces {}. The indexes start at 0.

Exceptions

ExceptionCondition
ObjectDisposedExceptionThe writer is closed.
FormatException The format specification in format is invalid.
-or-
The number indicating an argument to be formatted is less than zero, or larger than or equal to the number of provided objects to be formatted.

See Also

Project CorLib Overview

Class StreamWriter Overview