HttpContextWrapper.GetSection(String) Méthode

Définition

Obtient la section de configuration spécifiée de 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 de la 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.

S’applique à