Page.TraceEnabled Propriedade
Definição
protected:
property bool TraceEnabled { void set(bool value); };
public:
property bool TraceEnabled { bool get(); void set(bool value); };
protected bool TraceEnabled { set; }
[System.ComponentModel.Browsable(false)]
public bool TraceEnabled { get; set; }
member this.TraceEnabled : bool
[<System.ComponentModel.Browsable(false)>]
member this.TraceEnabled : bool with get, set
Protected Property TraceEnabled As Boolean
Public Property TraceEnabled As Boolean
Valor da propriedade
true Se o rastreamento estiver habilitado para a página; caso contrário, false .true if tracing is enabled for the page; otherwise, false. O padrão é false.The default is false.
- Atributos
Comentários
Na maioria das circunstâncias, não defina essa propriedade no código.In most circumstances, do not set this property in code. Defina o Trace atributo como true na diretiva @ Page no arquivo. aspx.Set the Trace attribute to true in the @ Page directive in the .aspx file. Quando a página é solicitada, a classe gerada dinamicamente define a propriedade.When the page is requested, the dynamically generated class sets the property.