Share via


RazorCodeGenerator.GenerateLinePragmas 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 indicating whether the generator should generate line pragmas in the Razor code.

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

Syntax

'Declaration
Public Property GenerateLinePragmas As Boolean 
    Get 
    Set
'Usage
Dim instance As RazorCodeGenerator 
Dim value As Boolean 

value = instance.GenerateLinePragmas

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

Property Value

Type: System.Boolean
true if the generator should generate line pragmas in the Razor code; otherwise, false.

See Also

Reference

RazorCodeGenerator Class

System.Web.Razor.Generator Namespace