Share via


ParserContext.CurrentBlock Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the current block builder.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public ReadOnly Property CurrentBlock As BlockBuilder 
    Get
'Usage
Dim instance As ParserContext 
Dim value As BlockBuilder 

value = instance.CurrentBlock
public BlockBuilder CurrentBlock { get; }
public:
property BlockBuilder^ CurrentBlock {
    BlockBuilder^ get ();
}
member CurrentBlock : BlockBuilder
function get CurrentBlock () : BlockBuilder

Property Value

Type: System.Web.Razor.Parser.SyntaxTree.BlockBuilder
The current block builder.

See Also

Reference

ParserContext Class

System.Web.Razor.Parser Namespace