ConfigurationSectionGroupCollection.Add Method (String, ConfigurationSectionGroup)

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

public void Add(
	string name,
	ConfigurationSectionGroup sectionGroup
)

Parameters

name
Type: System.String

The name of the ConfigurationSectionGroup object to be added.

sectionGroup
Type: System.Configuration.ConfigurationSectionGroup

The ConfigurationSectionGroup object to be added.

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

.NET Framework
Available since 2.0
Return to top
Show: