다음을 통해 공유


TraceSection.PageOutput 속성

정의

ASP.NET 추적 정보가 각 페이지의 출력에 추가되는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool PageOutput { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("pageOutput", DefaultValue=false)]
public bool PageOutput { get; set; }
[<System.Configuration.ConfigurationProperty("pageOutput", DefaultValue=false)>]
member this.PageOutput : bool with get, set
Public Property PageOutput As Boolean

속성 값

추적 정보가 각 페이지에 추가되면 기본값은 false입니다.

특성

예제

다음 코드 예제에서는 속성을 사용 하는 방법을 보여 있습니다 PageOutput . 이 코드 예제는 클래스에 제공된 더 큰 예제의 TraceSection 일부입니다.


// Get the current PageOutput property value.
Boolean pageOutputValue = traceSection.PageOutput;

// Set the PageOutput property to true.
traceSection.PageOutput = true;

' Get the current PageOutput property value.
Dim pageOutputValue As Boolean = traceSection.PageOutput

' Set the PageOutput property to true.
traceSection.PageOutput = True

적용 대상