共用方式為


MvcWebPageRazorHost.DecorateCodeParser(ParserBase) 方法

定義

使用指定的語言剖析器,傳回 ASP.NET MVC 語言特定的 Razor 程式碼剖析器。

public override System.Web.Razor.Parser.ParserBase DecorateCodeParser(System.Web.Razor.Parser.ParserBase incomingCodeParser);
override this.DecorateCodeParser : System.Web.Razor.Parser.ParserBase -> System.Web.Razor.Parser.ParserBase
Public Overrides Function DecorateCodeParser (incomingCodeParser As ParserBase) As ParserBase

參數

incomingCodeParser
ParserBase

C# 或 Visual Basic 程式碼剖析器。

傳回

ASP.NET MVC 語言特定的 Razor 程式碼剖析器。

適用於