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

要启动的块的类型

返回

适用于