Block Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public class Block : System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
type Block = class
inherit SyntaxTreeNode
Public Class Block
Inherits SyntaxTreeNode
- Inheritance
Constructors
Block(BlockBuilder) |
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. |
Properties
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. |
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. |
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. |
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. |
Methods
Accept(ParserVisitor) |
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. |
Equals(Object) |
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. |
EquivalentTo(SyntaxTreeNode) |
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. |
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. |
LocateOwner(TextChange) |
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. |
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. |