xtd 0.2.0
Loading...
Searching...
No Matches

◆ file_settings() [2/3]

xtd::configuration::file_settings::file_settings ( const xtd::string file_path)
explicit

Initialize an xtd::configuration::file_settings with file path to load and save.

Parameters
file_paththe file path to load and save.
Remarks
If the xtd::configuration::file_settings::auto_save is true the xtd::configuration::file_settings::save is called on the xtd::configuration::file_settings destructor; otherwise not, The xtd::configuration::file_settings::save method must be called manually.
xtd::configuration::file_settings::auto_save is false by default.
If the file path is empty, this is equivalent to using the xtd::configuration::file_settings constructor with no parameters.