Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigurationSectionCollection::Add Method (String^, ConfigurationSection^)

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

public:
void Add(
	String^ name,
	ConfigurationSection^ section
)

Parameters

name
Type: System::String^

The name of the section to be added.

section
Type: System.Configuration::ConfigurationSection^

The section to be added.

By default, this method adds the specified ConfigurationSection object if it is not already contained within the collection.

The following example shows how to use the Add method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft