Compartir vía


TraceSection.PageOutput Propiedad

Definición

Obtiene o establece un valor que indica si la información de seguimiento ASP.NET se anexa a la salida de cada página.

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

Valor de propiedad

true si la información de seguimiento se anexa a cada página; de lo contrario, false. El valor predeterminado es false.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra cómo usar la PageOutput propiedad . Este ejemplo de código forma parte de un ejemplo más grande proporcionado para la TraceSection clase .


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

Se aplica a