ConfigurationSectionGroupCollection.Add Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.