Page.TraceModeValue Page.TraceModeValue Page.TraceModeValue Page.TraceModeValue Property

定義

設定頁面上追蹤陳述式的顯示模式。Sets the mode in which trace statements are displayed on the page.

public:
 property System::Web::TraceMode TraceModeValue { System::Web::TraceMode get(); void set(System::Web::TraceMode value); };
[System.ComponentModel.Browsable(false)]
public System.Web.TraceMode TraceModeValue { get; set; }
member this.TraceModeValue : System.Web.TraceMode with get, set
Public Property TraceModeValue As TraceMode

屬性值

其中一個 TraceMode 列舉類型成員。One of the TraceMode enumeration members.

備註

在大部分的情況下,請勿在程式碼中設定此屬性。In most circumstances, do not set this property in code. 在 .aspx 檔案的@ Page指示詞中設定屬性。TraceModeSet the TraceMode attribute in the @ Page directive in the .aspx file. 當要求頁面時,動態產生的類別會設定屬性。When the page is requested, the dynamically generated class sets the property.

適用於

另請參閱