Method LoadStream
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.v10.dll
LoadStream(TextReader)
Loads the contents of the specified stream into the snippet.
public virtual bool LoadStream(TextReader reader)
Parameters
readerTextReaderThe TextReader object to read.
Returns
- bool
True is succeed; otherwise false.
LoadStream(Stream)
Loads the contents of the given stream into the snippet.
public virtual bool LoadStream(Stream stream)
Parameters
streamStreamThe Stream object to read text.
Returns
- bool
True is succeed; otherwise false.
LoadStream(Stream, Encoding)
Loads the contents of the given stream into the snippet.
public virtual bool LoadStream(Stream stream, Encoding encoding)
Parameters
streamStreamThe Stream object to read text.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.