Gets the name property of this ConfigurationSectionGroup object.

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

Syntax
public string Name { get; }
public:
property String^ Name {
	String^ get();
}
member Name : string with get
Public ReadOnly Property Name As String

Property Value

Type:

The name property of this ConfigurationSectionGroup object.

Remarks

The property value is the name of the section group that does not contain the parent section groups.

Examples

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 section group name.
indent("Section Group Name: " + sectionGroup.Name);
' Get the section group name.
indent("Section Group Name: " + sectionGroup.Name)
Version Information
.NET Framework
Available since 2.0
Return to top