SectionGroup Class
Provides access to a group of related configuration section groups or configuration section definitions.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
| Name | Description | |
|---|---|---|
![]() | Name | Gets the name of the configuration section group. |
![]() | SectionGroups | Gets a collection of nested configuration section groups. |
![]() | Sections | Gets a collection of nested configuration section definitions. |
![]() | Type | Gets or sets the .NET Framework type of the configuration section group. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Because some configuration sections are related, it is often convenient to group them in a single section group. The SectionGroup class represents the <sectionGroup> XML element in a configuration file.
Use the Sections property to access the sections in this SectionGroup object.
A SectionGroup can also contain other SectionGroup objects, which you can access through the SectionGroups property.
The following example demonstrates the SectionGroup class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

