Method LoadFile
LoadFile(string)
Loads IPersistentSettings
content from the specified file.
public virtual bool LoadFile(string fileName)
Parameters
fileName
stringName of the file to load.
Returns
- bool
True is succeed; otherwise false.
LoadFile(string, Encoding)
Loads IPersistentSettings
content from the specified file with specified encoding.
public bool LoadFile(string fileName, Encoding encoding)
Parameters
fileName
stringName of the file to load.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.