Method SaveStream
SaveStream(TextWriter)
When implemented by a class, saves the text content to the specified stream.
bool SaveStream(TextWriter writer)
Parameters
writer
TextWriterThe TextWriter object to write text to stream.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream)
When implemented by a class, saves the text content to the specified stream.
bool SaveStream(Stream stream)
Parameters
stream
StreamThe Stream object to write the text.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream, Encoding)
When implemented by a class, saves the text content to the specified stream.
bool SaveStream(Stream stream, Encoding encoding)
Parameters
stream
StreamThe Stream object to write the text.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.