ParserContext.StartBlock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StartBlock() |
Starts a block |
StartBlock(BlockType) |
Starts a block of the specified type |
StartBlock()
Starts a block
public:
IDisposable ^ StartBlock();
public IDisposable StartBlock ();
member this.StartBlock : unit -> IDisposable
Public Function StartBlock () As IDisposable
Returns
Applies to
StartBlock(BlockType)
Starts a block of the specified type
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
Parameters
- blockType
- BlockType
The type of the block to start