SyntaxNode.Parent Property

Definition

The node that contains this node in its ChildNodes() collection.

public:
 property Microsoft::CodeAnalysis::SyntaxNode ^ Parent { Microsoft::CodeAnalysis::SyntaxNode ^ get(); };
public Microsoft.CodeAnalysis.SyntaxNode Parent { get; }
public Microsoft.CodeAnalysis.SyntaxNode? Parent { get; }
member this.Parent : Microsoft.CodeAnalysis.SyntaxNode
Public ReadOnly Property Parent As SyntaxNode

Property Value

SyntaxNode

Applies to