Share via


TraceSection.PageOutput プロパティ

定義

ASP.NET のトレース情報が各ページの出力に追加されるかどうかを示す値を取得または設定します。

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

プロパティ値

トレース情報が各ページに追加される場合は true。それ以外の場合は false。 既定値は、false です。

属性

次のコード例は、PageOutput プロパティの使用方法を示しています。 このコード例は、TraceSection クラスのために提供されている大規模な例の一部です。


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

適用対象