Table of Contents

Method SaveFile

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

SaveFile(string)

Saves text content to the specific file.

public virtual bool SaveFile(string fileName)

Parameters

fileName string

Name of file to save scheme.

Returns

bool

True is succeed; otherwise false.

SaveFile(string, Encoding)

Saves scheme content to the specific file with specific encoding.

public virtual bool SaveFile(string fileName, Encoding encoding)

Parameters

fileName string

Name of file to save content.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.