Share via


RazorEngineHost.EnableInstrumentation Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the host that enables the instrumentation.

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Overridable Property EnableInstrumentation As Boolean 
    Get 
    Set
'Usage
Dim instance As RazorEngineHost 
Dim value As Boolean 

value = instance.EnableInstrumentation

instance.EnableInstrumentation = value
public virtual bool EnableInstrumentation { get; set; }
public:
virtual property bool EnableInstrumentation {
    bool get ();
    void set (bool value);
}
abstract EnableInstrumentation : bool with get, set 
override EnableInstrumentation : bool with get, set
function get EnableInstrumentation () : boolean 
function set EnableInstrumentation (value : boolean)

Property Value

Type: System.Boolean
The host that enables the instrumentation.

See Also

Reference

RazorEngineHost Class

System.Web.Razor Namespace