ConfigurationSectionGroupCollection.Add Methode

Definitie

Hiermee voegt u een ConfigurationSectionGroup object toe aan dit ConfigurationSectionGroupCollection object.

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

De naam van het ConfigurationSectionGroup object dat moet worden toegevoegd.

sectionGroup
ConfigurationSectionGroup

Het ConfigurationSectionGroup object dat moet worden toegevoegd.

Opmerkingen

Met deze methode wordt standaard het opgegeven ConfigurationSectionGroup object toegevoegd als het nog niet is opgenomen in de verzameling.

Van toepassing op