編輯

共用方式為


ConfigurationSectionGroup.SectionGroups Property

Definition

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

public:
 property System::Configuration::ConfigurationSectionGroupCollection ^ SectionGroups { System::Configuration::ConfigurationSectionGroupCollection ^ get(); };
public System.Configuration.ConfigurationSectionGroupCollection SectionGroups { get; }
member this.SectionGroups : System.Configuration.ConfigurationSectionGroupCollection
Public ReadOnly Property SectionGroups As ConfigurationSectionGroupCollection

Property Value

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

Examples

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);
Dim sectionGroups As ConfigurationSectionGroupCollection = _
    sectionGroup.SectionGroups
ShowSectionGroupCollectionInfo(sectionGroups)

Applies to

See also