Share via


SyntaxTreeNode.Parent Property

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.

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

Syntax

'Declaration
Public Property Parent As Block 
    Get 
    Friend Set
'Usage
Dim instance As SyntaxTreeNode 
Dim value As Block 

value = instance.Parent
public Block Parent { get; internal set; }
public:
property Block^ Parent {
    Block^ get ();
    internal: void set (Block^ value);
}
member Parent : Block with get, internal set
function get Parent () : Block 
internal function set Parent (value : Block)

Property Value

Type: System.Web.Razor.Parser.SyntaxTree.Block
The parent tree node of the current tree node.

See Also

Reference

SyntaxTreeNode Class

System.Web.Razor.Parser.SyntaxTree Namespace