Page.TraceModeValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.