SectionGroup.Sections Property

IIS 7.0

Gets a collection of nested configuration section definitions.

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

public SectionDefinitionCollection Sections { get; }

Property Value

Type: Microsoft.Web.Administration.SectionDefinitionCollection

A SectionDefinitionCollection object that contains all the ConfigurationSection objects in this SectionGroup object.

If no section definitions are found, this property gets an empty collection.

The following example demonstrates the Sections property.

Return to top