TraceSection.PageOutput Propriété

Définition

Obtient ou définit une valeur qui indique si les informations de traçage ASP.NET sont ajoutées à la sortie de chaque 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

Valeur de propriété

true si les informations de traçage sont ajoutées à chaque page ; sinon false. La valeur par défaut est false.

Attributs

Exemples

L'exemple de code suivant montre comment utiliser la propriété PageOutput. Cet exemple de code fait partie d’un exemple plus grand fourni pour la TraceSection classe .


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

S’applique à