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
stream
StreamThe Stream object to write the text.
exporter
IStringExportSpecifies 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
stream
StreamThe Stream object to write the text.
exporter
IStringExportSpecifies exporter to save content.
encoding
EncodingSpecifies 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
writer
TextWriterThe TextWriter object to write the text.
exporter
IStringExportSpecifies exporter to save content.
Returns
- bool
True is succeed; otherwise false.