IPersistComponentSettings.SaveComponentSettings Method
Persists the control's application settings properties.
Assembly: System (in System.dll)
The SaveComponentSettings method writes the values of the control's application settings properties to the associated data store. The data store and serialization technique the method uses is determined by the settings provider associated with each settings class through the SettingsProviderAttribute. You can override the choice of the settings provider by using the ISettingsProviderService interface.
Note
|
|---|
|
If the SaveSettings property is true, the control should call SaveComponentSettings in its own Dispose method so that the control's configuration data is stored automatically before the application ends. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note