Method SaveFile
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.v10.dll
SaveFile(string)
Saves content of the snippet to the specific file.
public virtual bool SaveFile(string fileName)
Parameters
fileNamestringName of file to save content.
Returns
- bool
True is succeed; otherwise false.
SaveFile(string, Encoding)
Saves content of the snippet to the specific file.
public virtual bool SaveFile(string fileName, Encoding encoding)
Parameters
fileNamestringName of file to save content.
encodingEncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.