Redigera

Dela via


TraceSection.PageOutput Property

Definition

Gets or sets a value indicating whether the ASP.NET trace information is appended to the output of each page.

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

Property Value

true if the trace information is appended to each page; otherwise, false. The default is false.

Attributes

Examples

The following code example shows how to use the PageOutput property. This code example is part of a larger example provided for the TraceSection class.


// 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

Applies to