共用方式為


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

屬性值

適用於