HttpContextWrapper.GetSection(String) Metoda

Definice

Získá zadanou část konfigurace výchozí konfigurace aktuální aplikace.

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

Parametry

sectionName
String

Cesta oddílu konfigurace (ve formátu XPath) a název elementu konfigurace.

Návraty

Zadaný oddíl nebo null pokud oddíl neexistuje.

Platí pro