Share via


ConverterWriter members

The ConverterWriter type is a write-only converter that is derived from the TextWriter class. Source documents are written into ConverterWriter and the output is written into a Stream or TextWriter object.

The ConverterWriter type exposes the following members.

Constructors

  Name Description
Public method ConverterWriter(Stream, TextConverter) The ConverterWriter constructor creates a new ConverterWriter object that uses converter to write converted output to destinationStream.
Public method ConverterWriter(TextWriter, TextConverter) The ConverterWriter constructor creates a new ConverterWriter object that uses converter to write converted output to destinationWriter.

Top

Properties

  Name Description
Public property Encoding The Encoding method returns a null reference (Nothing in Visual Basic). (Overrides TextWriter.Encoding.)

Top

Methods

  Name Description
Protected method Dispose The Dispose method releases the unmanaged resources that are used by the ConverterWriter and optionally releases the managed resources. (Overrides TextWriter.Dispose(Boolean).)
Public method Flush The Flush method clears all buffers for this ConverterWriter object and causes any buffered data to be written to the destination TextWriter or stream that it owns. (Overrides TextWriter.Flush().)
Public method Write(Char) The Write method writes a single character into the destination TextWriter or Stream object that it owns. (Overrides TextWriter.Write(Char).)
Public method Write([]) The Write method converts buffer and writes it to the TextWriter or Stream object that this ConverterWriter owns. (Overrides TextWriter.Write([]).)
Public method Write(String) The Write method converts value and writes it to the TextWriter or Stream object that this ConverterWriter owns. (Overrides TextWriter.Write(String).)
Public method Write([], Int32, Int32) The Write method converts and writes count characters from buffer, starting at index, into the TextWriter or Stream that this ConverterWriter owns. (Overrides TextWriter.Write([], Int32, Int32).)
Public method WriteLine The WriteLine method appends a new line to value, converts the resulting string, and writes it to the TextWriter or Stream object that this ConverterWriter owns. (Overrides TextWriter.WriteLine(String).)

Top

See also

Reference

ConverterWriter class

Microsoft.Exchange.Data.TextConverters namespace