ConfigurationSectionGroup.Name 属性

定义

获取此 ConfigurationSectionGroup 对象的名称属性。

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

属性值

ConfigurationSectionGroup 对象的名称属性。

示例

下面的代码示例演示如何显示 类的此实例 ConfigurationSectionGroup 的名称。 这是 类概述中提供的更大示例的 ConfigurationSectionGroup 一部分。

// Get the section group name.
indent("Section Group Name: " + sectionGroup.Name);
' Get the section group name.
indent("Section Group Name: " + sectionGroup.Name)

注解

Name属性值是不包含父节组的节组的名称。

适用于

另请参阅