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() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a new block builder at the end of the block builder stack and returns a disposable action that returns an end block. |
StartBlock(BlockType) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a new block builder at the end of the block builder stack and returns a disposable action that returns an end block. |
StartBlock()
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a new block builder at the end of the block builder stack and returns a disposable action that returns an end block.
public IDisposable StartBlock();
member this.StartBlock : unit -> IDisposable
Public Function StartBlock () As IDisposable
Returns
A disposable action that returns an end block.
Applies to
StartBlock(BlockType)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a new block builder at the end of the block builder stack and returns a disposable action that returns an end block.
public IDisposable StartBlock(System.Web.Razor.Parser.SyntaxTree.BlockType blockType);
member this.StartBlock : System.Web.Razor.Parser.SyntaxTree.BlockType -> IDisposable
Public Function StartBlock (blockType As BlockType) As IDisposable
Parameters
- blockType
- BlockType
The type for the new block builder.
Returns
A disposable action that returns an end block.