TraceSection.PageOutput Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die aangeeft of de ASP.NET traceringsgegevens worden toegevoegd aan de uitvoer van elke pagina.

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

Waarde van eigenschap

true als de traceringsgegevens aan elke pagina worden toegevoegd; anders, false. De standaardwaarde is false.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de PageOutput eigenschap gebruikt. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor de TraceSection klasse.


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

Van toepassing op