PageOutput Property

TraceSection.PageOutput Property

 

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

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("pageOutput", DefaultValue = false)]
public bool PageOutput { get; set; }

Property Value

Type: System.Boolean

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

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;

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft