共用方式為


ParserContext.StartBlock 方法

定義

多載

StartBlock()

啟動區塊

StartBlock(BlockType)

啟動指定型別的區塊

StartBlock()

啟動區塊

public:
 IDisposable ^ StartBlock();
public IDisposable StartBlock ();
member this.StartBlock : unit -> IDisposable
Public Function StartBlock () As IDisposable

傳回

適用於

StartBlock(BlockType)

啟動指定型別的區塊

public:
 IDisposable ^ StartBlock(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::BlockType blockType);
public IDisposable StartBlock (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockType blockType);
member this.StartBlock : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockType -> IDisposable
Public Function StartBlock (blockType As BlockType) As IDisposable

參數

blockType
BlockType

要啟動的區塊類型

傳回

適用於