Page.TraceModeValue Property

Definition

Sets the mode in which trace statements are displayed on the page.

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

Property Value

One of the TraceMode enumeration members.

Attributes

Remarks

In most circumstances, do not set this property in code. Set the TraceMode attribute in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

Applies to

See also