TextConverter.Convert Method
Include Protected Members
Include Inherited Members
The Convert overload converts the entire contents of an input Stream or TextReader object to another format and either stores the results in an output Stream object or writes the results to a TextWriter.
Overload List
Name | Description | |
---|---|---|
Convert(Stream, Stream) | The Convert method converts the entire contents of sourceStream from its format to the format specified by this TextConverter object and stores the result in destinationStream. | |
Convert(Stream, TextWriter) | The Convert method converts the entire contents of sourceStream from its format to the format of destinationWriter and writes the result to destinationWriter. | |
Convert(TextReader, Stream) | The Convert method converts the entire contents of sourceReader from its format to the format of destinationStream and stores the result in destinationStream. | |
Convert(TextReader, TextWriter) | The Convert method converts the entire contents of sourceReader from its format to the format of destinationWriter and writes the result to destinationWriter. |
Top
Remarks
The Convert method is overridden in the conversions that derive from it to perform a particular conversion. For example, the RtfToHtml object uses its overridden Convert method to convert input Rich Text Format (RTF) into output HTML.