SectionGroups Property

ConfigurationSectionGroup.SectionGroups Property

 

Gets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object.

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

public ConfigurationSectionGroupCollection SectionGroups { get; }

Property Value

Type: System.Configuration.ConfigurationSectionGroupCollection

A ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object.

The following code example shows how to access the SectionGroups property. This is part of a larger example provided in the overview for the ConfigurationSectionGroup class.

ConfigurationSectionGroupCollection sectionGroups =
    sectionGroup.SectionGroups;
ShowSectionGroupCollectionInfo(sectionGroups);

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft