ConfigurationSectionGroup.SectionGroupName Property


Gets the section group name associated with this ConfigurationSectionGroup.

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

public string SectionGroupName { get; }

Property Value

Type: System.String

The section group name of this ConfigurationSectionGroup object.

The SectionGroupName property value is the full path name of the section group, including the parent section groups..

The following code example shows how to display the name of this instance of the ConfigurationSectionGroup class. This is part of a larger example provided in the overview for the ConfigurationSectionGroup class.

// Get the fully qualified group name.
indent("Section Group Name: " + sectionGroup.SectionGroupName);

.NET Framework
Available since 2.0
Return to top