Share via


ParserContext.SwitchActiveParser Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Alternately switches the code parser or markup parser as the active parser.

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

Syntax

'Declaration
Public Sub SwitchActiveParser
'Usage
Dim instance As ParserContext

instance.SwitchActiveParser()
public void SwitchActiveParser()
public:
void SwitchActiveParser()
member SwitchActiveParser : unit -> unit
public function SwitchActiveParser()

See Also

Reference

ParserContext Class

System.Web.Razor.Parser Namespace