Method SaveStream
SaveStream(Stream, IStringExport)
When implemented by a class, saves the text content to the given stream with specified exporter.
bool SaveStream(Stream stream, IStringExport exporter)
Parameters
streamStreamThe Stream object to write the text.
exporterIStringExportSpecifies exporter to save content.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream, IStringExport, Encoding)
When implemented by a class, saves the text content to the given stream with specified exporter.
bool SaveStream(Stream stream, IStringExport exporter, Encoding encoding)
Parameters
streamStreamThe Stream object to write the text.
exporterIStringExportSpecifies exporter to save content.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.
SaveStream(TextWriter, IStringExport)
When implemented by a class, saves the text content to the given stream with specified exporter.
bool SaveStream(TextWriter writer, IStringExport exporter)
Parameters
writerTextWriterThe TextWriter object to write the text.
exporterIStringExportSpecifies exporter to save content.
Returns
- bool
True is succeed; otherwise false.