Table of Contents

Method LoadFile

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

LoadFile(string)

Loads the contents of the specified file into the snippet.

public virtual bool LoadFile(string fileName)

Parameters

fileName string

Name of file to load.

Returns

bool

True is succeed; otherwise false.

LoadFile(string, Encoding)

Loads the contents of the specified file into the snippet.

public virtual bool LoadFile(string fileName, Encoding encoding)

Parameters

fileName string

Name of file to load.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.