Configuration.GetSectionGroup(String) Metodo

Definizione

Ottiene l'oggetto ConfigurationSectionGroup specificato.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

Parametri

sectionGroupNamepath
String

Percorso dell'oggetto ConfigurationSectionGroup da restituire.The path name of the ConfigurationSectionGroup to return.

Restituisce

ConfigurationSectionGroup

Oggetto ConfigurationSectionGroup specificato oppure null se il gruppo di sezioni richiesto non esiste.The ConfigurationSectionGroup specified, or null if the requested section group does not exist.

Commenti

Usare il metodo GetSectionGroup per ottenere un ConfigurationSectionGroup specifico da un oggetto Configuration.Use the GetSectionGroup method to obtain a specific ConfigurationSectionGroup from a Configuration object.

Si applica a