Share via


CSharpCodeParser.ReservedDirective Method

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

Indicates the reserved directive.

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

Syntax

'Declaration
Protected Overridable Sub ReservedDirective ( _
    topLevel As Boolean _
)
'Usage
Dim topLevel As Boolean 

Me.ReservedDirective(topLevel)
protected virtual void ReservedDirective(
    bool topLevel
)
protected:
virtual void ReservedDirective(
    bool topLevel
)
abstract ReservedDirective : 
        topLevel:bool -> unit  
override ReservedDirective : 
        topLevel:bool -> unit
protected function ReservedDirective(
    topLevel : boolean
)

Parameters

  • topLevel
    Type: System.Boolean
    Determines whether the directive is a top level.

See Also

Reference

CSharpCodeParser Class

System.Web.Razor.Parser Namespace