HttpContextBase.GetSection(String) 메서드

정의

파생 클래스에서 재정의되는 경우 현재 애플리케이션의 기본 구성에서 지정된 구성 섹션을 가져옵니다.

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

매개 변수

sectionName
String

구성 섹션 경로(XPath 형식) 및 구성 요소 이름입니다.

반품

지정된 섹션이거나 null 섹션이 없는 경우

예외

적용 대상