共用方式為


AttributeBlockCodeGenerator.GenerateEndBlockCode 方法

定義

此類型/成員支援.NET Framework基礎結構,不適合直接從您的程式碼使用。使用指定的參數產生程式碼以結束區塊。

public override void GenerateEndBlockCode (System.Web.Razor.Parser.SyntaxTree.Block target, System.Web.Razor.Generator.CodeGeneratorContext context);
override this.GenerateEndBlockCode : System.Web.Razor.Parser.SyntaxTree.Block * System.Web.Razor.Generator.CodeGeneratorContext -> unit
Public Overrides Sub GenerateEndBlockCode (target As Block, context As CodeGeneratorContext)

參數

target
Block

目標區塊。

context
CodeGeneratorContext

產生器內容的程式碼。

適用於