編輯

共用方式為


ConfigurationSectionGroup.Name Property

Definition

Gets the name property of this ConfigurationSectionGroup object.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The name property of this ConfigurationSectionGroup object.

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)

Remarks

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

Applies to

See also