Table of Contents

Method LoadStream

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

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

stream Stream

The Stream object to write the text.

importer IStringImport

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

stream Stream

The Stream object to load the text.

importer IStringImport

Specifies importer to load content.

encoding Encoding

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

reader TextReader

The TextReader object to load the text.

importer IStringImport

Specifies importer to load content.

Returns

bool

True is succeed; otherwise false.