Share via


RazorCodeLanguage.CreateCodeParser Method

Creates the code parser for the Razor code language.

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

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

Syntax

'Declaration
Public MustOverride Function CreateCodeParser As ParserBase
'Usage
Dim instance As RazorCodeLanguage 
Dim returnValue As ParserBase 

returnValue = instance.CreateCodeParser()
public abstract ParserBase CreateCodeParser()
public:
virtual ParserBase^ CreateCodeParser() abstract
abstract CreateCodeParser : unit -> ParserBase
public abstract function CreateCodeParser() : ParserBase

Return Value

Type: System.Web.Razor.Parser.ParserBase
The code parser for the Razor code language.

See Also

Reference

RazorCodeLanguage Class

System.Web.Razor Namespace