TextWriter

TextWriter


Provides an interface used to write text characters to a stream.


Remarks

The specific writer will use the supplied or default Encoding scheme to convert text characters to byte arrays to be written to the stream.

See Also

Project VBCorLib Overview | StreamWriter | StringWriter

Public:

Properties:

NameDescription
 Encoding (get)Returns the encoding being used by this reader instance. 
 FormatProvider (get)Returns the format provider used by this read instance. 
 NewLine (get)Returns the NewLine character used by this reader. 
 NewLine (let)Sets the NewLine character used by this writer. 

Methods:

NameDescription
 CloseWriterCloses this writer instance. 
 EqualsReturns if the value is equal to this instance of TextWriter 
 FlushForces any data being cached to be written to the stream immediately. 
 GetHashCodeReturns a pseudo-unique number that identifies this object instance. 
 ToStringReturns a string representation of this instance. 
 WriteLineWrites the string representation of the value followed by a NewLine to the stream using both the format provider and encoding objects. 
 WriteValueWrites the string representation of the value to the stream using both the format provider and encoding objects.