SectionGroup Class

IIS 7.0
 

Provides access to a group of related configuration section groups or configuration section definitions.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

System::Object
  Microsoft.Web.Administration::SectionGroup

public ref class SectionGroup sealed 

NameDescription
System_CAPS_pubpropertyName

Gets the name of the configuration section group.

System_CAPS_pubpropertySectionGroups

Gets a collection of nested configuration section groups.

System_CAPS_pubpropertySections

Gets a collection of nested configuration section definitions.

System_CAPS_pubpropertyType

Gets or sets the .NET Framework type of the configuration section group.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: