Configuration.GetSectionGroup(String) Method

Definition

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

Parameters

sectionGroupName
String

The path name of the ConfigurationSectionGroup to return.

Returns

The ConfigurationSectionGroup specified, or null if the requested section group does not exist.

Remarks

Use the GetSectionGroup method to obtain a specific ConfigurationSectionGroup from a Configuration object.

Applies to