Table of Contents

Method LoadStream

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

LoadStream(TextReader)

Loads the contents of the specified stream.

public virtual bool LoadStream(TextReader reader)

Parameters

reader TextReader

The TextReader object to read text.

Returns

bool

True is succeed; otherwise false.

LoadStream(Stream)

Loads the contents of the specified stream.

public virtual bool LoadStream(Stream stream)

Parameters

stream Stream

The Stream object to read text.

Returns

bool

True is succeed; otherwise false.

LoadStream(Stream, Encoding)

Loads the contents of the specified stream.

public virtual bool LoadStream(Stream stream, Encoding encoding)

Parameters

stream Stream

The Stream object to read text.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.