Method SaveStream
SaveStream(TextWriter)
Saves content to the specific stream in the text format.
public virtual bool SaveStream(TextWriter writer)
Parameters
writerTextWriterThe TextWriter object to write text to stream.
Returns
- bool
True if succeed; otherwise false.
SaveStream(TextWriter, IStringExport)
Saves the text content to the specified stream.
public virtual bool SaveStream(TextWriter writer, IStringExport exporter)
Parameters
writerTextWriterThe TextWriter object to write text to stream.
exporterIStringExportSpecifies exporter to save content.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream)
Saves content to the specific stream in the text format.
public virtual bool SaveStream(Stream stream)
Parameters
streamStreamThe Stream object to write the text.
Returns
- bool
True if succeed; otherwise false.
SaveStream(Stream, Encoding)
Saves the text content to the specified stream.
public virtual bool SaveStream(Stream stream, Encoding encoding)
Parameters
streamStreamThe Stream object to write the text.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream, IStringExport)
Saves content to the specific stream in the specific format.
public virtual bool SaveStream(Stream stream, IStringExport exporter)
Parameters
streamStreamThe Stream object to write the text.
exporterIStringExportSpecifies exporter to save content.
Returns
- bool
True if succeed; otherwise false.
SaveStream(Stream, IStringExport, Encoding)
Saves content to the specific stream in the specific format and specific encoding.
public virtual 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 if succeed; otherwise false.