ParserContext.StartBlock 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
要啟動的區塊類型