Share via


SyntaxTreeNode.IsBlock Property

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

Gets a value that indicates whether the syntax tree node is a block-level object.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsBlock As Boolean 
    Get
'Usage
Dim instance As SyntaxTreeNode 
Dim value As Boolean 

value = instance.IsBlock
public abstract bool IsBlock { get; }
public:
virtual property bool IsBlock {
    bool get () abstract;
}
abstract IsBlock : bool
abstract function get IsBlock () : boolean

Property Value

Type: System.Boolean
true if the syntax tree node is a block-level object; otherwise, false.

See Also

Reference

SyntaxTreeNode Class

System.Web.Razor.Parser.SyntaxTree Namespace