ApplicationSettingsBase Constructor (IComponent, String)
Initializes an instance of the ApplicationSettingsBase class using the supplied owner component and settings key.
Assembly: System (in System.dll)
The IComponent object specified by the owner parameter acts as the owner of the current instance of this applications settings class. During the initialization of the settings wrapper class derived from ApplicationSettingsBase, the owner's site is queried for a ISettingsProviderService. If one exists, it is used in preference to native settings provider for all the properties of the wrapper class, as specified by the SettingsProviderAttribute.
This constructor initializes the SettingsKey property to the value of the settingsKey parameter. This property is useful in disambiguating different instances of the wrapper class in the same application domain.
For information about how reflection is used during the instantiation of a wrapper class, see the default ApplicationSettingsBase() constructor.