Share via


RazorEngineHost.DesignTimeMode Property

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

Gets or sets a value that indicates whether the mode designs a time for the host.

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

Syntax

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

value = instance.DesignTimeMode

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

Property Value

Type: System.Boolean
true if the mode designs a time for the host; otherwise, false.

See Also

Reference

RazorEngineHost Class

System.Web.Razor Namespace