Freigeben über


TraceSection.PageOutput Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die ASP.NET Ablaufverfolgungsinformationen an die Ausgabe jeder Seite angefügt werden.

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

Eigenschaftswert

truewenn die Ablaufverfolgungsinformationen an jede Seite angefügt werden; andernfalls . false Der Standardwert lautet false.

Attribute

Beispiele

Das folgende Codebeispiel zeigt, wie die PageOutput Eigenschaft verwendet wird. Dieses Codebeispiel ist Teil eines größeren Beispiels, das für die TraceSection Klasse bereitgestellt wird.


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

Gilt für: