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 형식)와 구성 요소 이름입니다.

반환

Object

지정된 섹션이거나, 섹션이 없으면 null 입니다.

예외

적용 대상