Configuration.GetSectionGroup(String) 方法

定义

获取指定的 ConfigurationSectionGroup 对象。

public:
 System::Configuration::ConfigurationSectionGroup ^ GetSectionGroup(System::String ^ sectionGroupName);
public System.Configuration.ConfigurationSectionGroup GetSectionGroup (string sectionGroupName);
member this.GetSectionGroup : string -> System.Configuration.ConfigurationSectionGroup
Public Function GetSectionGroup (sectionGroupName As String) As ConfigurationSectionGroup

参数

sectionGroupName
String

要返回的 ConfigurationSectionGroup 的路径名称。

返回

指定的 ConfigurationSectionGroup,如果请求的节组不存在,则为 null

注解

GetSectionGroup使用 方法从 Configuration 对象获取特定ConfigurationSectionGroup

适用于