Upravit

Sdílet prostřednictvím


Configuration.GetSectionGroup(String) Method

Definition

Gets the specified ConfigurationSectionGroup object.

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

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