Method LoadStream
LoadStream(Stream, IStringImport)
When implemented by a class, loads the text content from the given stream with specified importer.
bool LoadStream(Stream stream, IStringImport importer)Parameters
- streamStream
- The Stream object to write the text. 
- importerIStringImport
- Specifies importer to load content. 
Returns
- bool
- True is succeed; otherwise false. 
LoadStream(Stream, IStringImport, Encoding)
When implemented by a class, loads the text content from the given stream with specified importer.
bool LoadStream(Stream stream, IStringImport importer, Encoding encoding)Parameters
- streamStream
- The Stream object to load the text. 
- importerIStringImport
- Specifies importer to load content. 
- encodingEncoding
- Specifies the character encoding to use. 
Returns
- bool
- True is succeed; otherwise false. 
LoadStream(TextReader, IStringImport)
When implemented by a class, loads the text content from the given stream with specified importer.
bool LoadStream(TextReader reader, IStringImport importer)Parameters
- readerTextReader
- The TextReader object to load the text. 
- importerIStringImport
- Specifies importer to load content. 
Returns
- bool
- True is succeed; otherwise false.