ConfigurationSectionGroupCollection.Add Method

Definition

public:
 void Add(System::String ^ name, System::Configuration::ConfigurationSectionGroup ^ sectionGroup);
public void Add (string name, System.Configuration.ConfigurationSectionGroup sectionGroup);
member this.Add : string * System.Configuration.ConfigurationSectionGroup -> unit
Public Sub Add (name As String, sectionGroup As ConfigurationSectionGroup)

Parameters

name
String

The name of the ConfigurationSectionGroup object to be added.

sectionGroup
ConfigurationSectionGroup

The ConfigurationSectionGroup object to be added.

Remarks

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

Applies to