HttpContextWrapper.GetSection(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la section de configuration spécifiée pour la configuration par défaut de l’application actuelle.
public:
override System::Object ^ GetSection(System::String ^ sectionName);
public override object GetSection(string sectionName);
override this.GetSection : string -> obj
Public Overrides Function GetSection (sectionName As String) As Object
Paramètres
- sectionName
- String
Chemin d’accès de section de configuration (au format XPath) et nom de l’élément de configuration.
Retours
Section spécifiée, ou null si la section n’existe pas.