ApplicationSettingsBase Constructor (IComponent)

 

Initializes an instance of the ApplicationSettingsBase class using the supplied owner component.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

protected ApplicationSettingsBase(
	IComponent owner
)

Parameters

owner
Type: System.ComponentModel.IComponent

The component that will act as the owner of the application settings object.

Exception Condition
ArgumentNullException

owner is null.

This constructor is exactly equivalent to the ApplicationSettingsBase(IComponent, String) constructor using the invocation:

ApplicationSettingsBase(owner, String.Empty)

For information about how reflection is used during the instantiation of a wrapper class, see the default ApplicationSettingsBase() constructor.

.NET Framework
Available since 2.0
Return to top
Show: