Configuration.GetSectionGroup(String) Configuration.GetSectionGroup(String) Configuration.GetSectionGroup(String) Configuration.GetSectionGroup(String) Method

定义

获取指定的 ConfigurationSectionGroup 对象。Gets the specified ConfigurationSectionGroup object.

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

参数

sectionGroupName
String String String String

要返回的 ConfigurationSectionGroup 的路径名称。The path name of the ConfigurationSectionGroup to return.

返回

指定的 ConfigurationSectionGroup,如果请求的节组不存在,则为 nullThe ConfigurationSectionGroup specified, or null if the requested section group does not exist.

注解

使用方法从ConfigurationSectionGroup 对象Configuration获取特定的。 GetSectionGroupUse the GetSectionGroup method to obtain a specific ConfigurationSectionGroup from a Configuration object.

适用于