Delen via


SyntaxNodeOrToken.Parent Property

Definition

The node that contains the underlying node or token in its Children 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

Applies to