Export (0) Print
Expand All

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.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft