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: