Block Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents the block for creating webpages.
Inheritance Hierarchy
System.Object
System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
System.Web.Razor.Parser.SyntaxTree.Block
Namespace: System.Web.Razor.Parser.SyntaxTree
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Class Block _
Inherits SyntaxTreeNode
'Usage
Dim instance As Block
public class Block : SyntaxTreeNode
public ref class Block : public SyntaxTreeNode
type Block =
class
inherit SyntaxTreeNode
end
public class Block extends SyntaxTreeNode
The Block type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Block | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the Block class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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.) |
![]() |
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.) |
![]() |
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. |
![]() |
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.) |
![]() |
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.) |
![]() |
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
Methods
Name | Description | |
---|---|---|
![]() |
Accept | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Accepts the parser visitor of the block. (Overrides SyntaxTreeNode.Accept(ParserVisitor).) |
![]() |
Equals | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current block. (Overrides Object.Equals(Object).) |
![]() |
EquivalentTo | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a value indicating whether the block is equivalent to the same element. (Overrides SyntaxTreeNode.EquivalentTo(SyntaxTreeNode).) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
FindFirstDescendentSpan | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Finds the first descendent span of the block. |
![]() |
FindLastDescendentSpan | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Finds the last descendent span of the block. |
![]() |
Flatten | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Flattens a collection of a specified type for the block. |
![]() |
GetHashCode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the hash code for this instance. (Overrides Object.GetHashCode().) |
![]() |
GetType | (Inherited from Object.) |
![]() |
LocateOwner | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Locates the owner of the block. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string that represents the current object. (Overrides Object.ToString().) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.