TraceSection.TraceMode プロパティ

定義

トレース情報の表示順序 ASP.NET 取得または設定します。

public:
 property System::Web::Configuration::TraceDisplayMode TraceMode { System::Web::Configuration::TraceDisplayMode get(); void set(System::Web::Configuration::TraceDisplayMode value); };
[System.Configuration.ConfigurationProperty("traceMode", DefaultValue=System.Web.Configuration.TraceDisplayMode.SortByTime)]
public System.Web.Configuration.TraceDisplayMode TraceMode { get; set; }
[<System.Configuration.ConfigurationProperty("traceMode", DefaultValue=System.Web.Configuration.TraceDisplayMode.SortByTime)>]
member this.TraceMode : System.Web.Configuration.TraceDisplayMode with get, set
Public Property TraceMode As TraceDisplayMode

プロパティ値

トレース情報が表示される順序を示す TraceDisplayMode 値の 1 つ。

属性

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


// Get the current Mode property value.
// TraceDisplayMode modeValue = traceSection.TraceMode;

// Set the Mode property to TraceDisplayMode.SortyByTime.
// traceSection.Mode = TraceDisplayMode.SortByTime;

' Get the current Mode property value.
'Dim modeValue As TraceDisplayMode = traceSection.TraceMode

' Set the Mode property to TraceDisplayMode.SortByTime.
'traceSection.Mode = TraceDisplayMode.SortByTime

適用対象