Configuration.GetSectionGroup(String) Method

Definition

Возвращает указанный объект ConfigurationSectionGroup.Gets the specified ConfigurationSectionGroup object.

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

Parameters

sectionGroupNamepath
String

Имя пути возвращаемого ConfigurationSectionGroup.The path name of the ConfigurationSectionGroup to return.

Returns

ConfigurationSectionGroup

Указанный объект ConfigurationSectionGroup или null, если запрошенная группа разделов не существует.The ConfigurationSectionGroup specified, or null if the requested section group does not exist.

Remarks

Используйте метод GetSectionGroup для получения определенного ConfigurationSectionGroup из объекта Configuration.Use the GetSectionGroup method to obtain a specific ConfigurationSectionGroup from a Configuration object.

Applies to