TextWriter

TextWriter

CF 1.0, ECMA 1.0, serializable, marshal by reference, disposable

System.IO (mscorlib.dll)

abstract class

This class writes strings of
characters to a stream.
Encoding sets the encoding of the produced text;
change the object that provides formatting by setting
FormatProvider. To change the newline character
produced in your text, set the NewLine property.
To write to a stream, call either Write( ) or
WriteLine( ). To clear the current buffer of
characters, use Flush( ). As always,
Close( ) allows you to free the resources in use
by the TextWriter.