Saves configuration changes to disk, optionally to the configuration file specified by the fileName argument.
If forceAllValues is True, all of the general configuration settings will be written to the file. If False, only those settings which differ from the defaults will be written to the file. Default value is False.
Syntax
public void SaveConfigToFile(
System.string ,
System.bool
)
Parameters
- fileName
- Optional: the name of the XML configuration file to save the changes to. If not provided, the changes will be written to the active configuration file.
- forceAllValues
- Set to True if all of the General configuration settings should be written to the file. Set to False if only the settings that differ from the defaults should be written.