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)

public bool PageOutput { get; set; }
/** @property */
public boolean get_PageOutput ()

/** @property */
public void set_PageOutput (boolean value)

public function get PageOutput () : boolean

public function set PageOutput (value : boolean)

Not applicable.

Property Value

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;

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0