Method SaveStream
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.v10.dll
SaveStream(TextWriter)
Saves content of the snippet to the specified stream.
public virtual bool SaveStream(TextWriter writer)
Parameters
writerTextWriterThe TextWriter object to write text to stream.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream)
Saves content of the snippet to the specified stream.
public virtual bool SaveStream(Stream stream)
Parameters
streamStreamThe Stream object to write the text.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream, Encoding)
Saves content of the snippet to the specified stream.
public virtual bool SaveStream(Stream stream, Encoding encoding)
Parameters
streamStreamThe Stream object to write the text.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.