ApplicationSettingsBase.Save Method ()
Stores the current values of the application settings properties.
Assembly: System (in System.dll)
The SetPropertyValues method on the associated settings provider.method writes the current value of each settings property to its associated data store. For each property, this method calls the
This method differs from the base class implementation in that it raises the SettingsSaving event before the values are written.
There is no corresponding Load method because the values of application settings are automatically loaded during wrapper class initialization. In contrast, these values are not automatically saved when an application ends. Therefore, you must explicitly call the Closing event handler of the primary or containing Form.method to persist the current values of the application settings. This is typically performed in the
The full code example is listed in the ApplicationSettingsBase class overview.
Available since 2.0