更新:2007 年 11 月
获取与此 ConfigurationSectionGroup 关联的节组名称。
Public ReadOnly Property SectionGroupName As String
Dim instance As ConfigurationSectionGroup Dim value As String value = instance.SectionGroupName
public string SectionGroupName { get; }
public: property String^ SectionGroupName { String^ get (); }
/** @property */ public String get_SectionGroupName()
public function get SectionGroupName () : String
此 ConfigurationSectionGroup 对象的节组名称。
SectionGroupName 属性值是节组(包括父节组)的完整路径名。
下面的代码示例演示如何显示 ConfigurationSectionGroup 类的此实例的名称。
' Get the group name without including ' the parent group names. Console.WriteLine((getSpacer() + _ "Section Group Name: " + _ sectionGroup.SectionGroupName))
// Get the group name without including // the parent group names. Console.WriteLine(getSpacer() + "Section Group Name: " + sectionGroup.SectionGroupName);
Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98