Page.TraceEnabled プロパティ

定義

Page オブジェクトのトレースが有効であるかどうかを示す値を設定します。

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

プロパティ値

ページのトレースが有効な場合は true。それ以外の場合は false。 既定値は、false です。

属性

注釈

ほとんどの状況では、コードでこのプロパティを設定しないでください。 Trace.aspx ファイルの @ Page ディレクティブで 属性を にtrue設定します。 ページが要求されると、動的に生成されたクラスによって プロパティが設定されます。

適用対象

こちらもご覧ください