Share via


Block.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 object is a block-level object.

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

Syntax

'Declaration
Public Overrides ReadOnly Property IsBlock As Boolean 
    Get
'Usage
Dim instance As Block 
Dim value As Boolean 

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

Property Value

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

See Also

Reference

Block Class

System.Web.Razor.Parser.SyntaxTree Namespace