Method LoadStream
LoadStream(TextReader)
When implemented by a class, loads the contents of the specified stream.
bool LoadStream(TextReader reader)
Parameters
reader
TextReaderThe TextReader object to read text.
Returns
- bool
True is succeed; otherwise false.
LoadStream(Stream)
When implemented by a class, loads the contents of the specified stream.
bool LoadStream(Stream stream)
Parameters
stream
StreamThe Stream object to read text.
Returns
- bool
True is succeed; otherwise false.
LoadStream(Stream, Encoding)
When implemented by a class, loads the contents of the specified stream.
bool LoadStream(Stream stream, Encoding encoding)
Parameters
stream
StreamThe Stream object to read text.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.