HttpContextBase.GetSection(String) Methode

Definitie

Wanneer deze wordt overschreven in een afgeleide klasse, wordt de opgegeven configuratiesectie van de standaardconfiguratie van de huidige toepassing opgevraagd.

public:
 virtual System::Object ^ GetSection(System::String ^ sectionName);
public virtual object GetSection(string sectionName);
abstract member GetSection : string -> obj
override this.GetSection : string -> obj
Public Overridable Function GetSection (sectionName As String) As Object

Parameters

sectionName
String

Het pad naar de configuratiesectie (in XPath-indeling) en de naam van het configuratie-element.

Retouren

De opgegeven sectie of null als de sectie niet bestaat.

Uitzonderingen

Van toepassing op