Table of Contents

Method LoadFile

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

LoadFile(string)

When implemented by a class, loads the contents of the specified file.

bool LoadFile(string fileName)

Parameters

fileName string

Name of file to load text.

Returns

bool

True is succeed; otherwise false.

LoadFile(string, Encoding)

When implemented by a class, loads the contents of the specified file with specified encoding.

bool LoadFile(string fileName, Encoding encoding)

Parameters

fileName string

Name of file to load text.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.