Table of Contents

Method SaveFile

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

SaveFile(string)

Saves IPersistentSettings content to the specified file.

public virtual bool SaveFile(string fileName)

Parameters

fileName string

Name of the file to save.

Returns

bool

True is succeed; otherwise false.

SaveFile(string, Encoding)

Saves IPersistentSettings content to the specified file with specific encoding.

public 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.