Share via


ParserContext.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 parser is in design mode.

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

Syntax

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

value = instance.DesignTimeMode

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

Property Value

Type: System.Boolean
true if the parser is in design mode; otherwise, false.

See Also

Reference

ParserContext Class

System.Web.Razor.Parser Namespace