共用方式為


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使用 方法可從物件取得特定 ConfigurationSectionGroupConfiguration

適用於