SyntaxNodeOrToken.Parent 属性

定义

包含其 Children 集合中基础节点或令牌的节点。

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

属性值

适用于