HttpContextWrapper.GetSection(String) Methode

Definitie

Hiermee haalt u de opgegeven configuratiesectie van de standaardconfiguratie van de huidige toepassing op.

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

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.

Van toepassing op