Block Properties

Include Protected Members
Include Inherited Members

The Block type exposes the following members.

Properties

  Name Description
Public property Children This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a collection of SyntaxTreeNode to view the children of the block.
Public property CodeGenerator This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the IBlockCodeGenerator to generate codes for the elements.
Public property IsBlock 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. (Overrides SyntaxTreeNode.IsBlock.)
Public property Length This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the length value of the block. (Overrides SyntaxTreeNode.Length.)
Public property Name This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the string name of the block.
Public property Parent This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the parent tree node of the current tree node. (Inherited from SyntaxTreeNode.)
Public property Start This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the start to identify the specific location of the block. (Overrides SyntaxTreeNode.Start.)
Public property Type This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the type of code block.

Top

See Also

Reference

Block Class

System.Web.Razor.Parser.SyntaxTree Namespace