SyntaxNode.SyntaxTree Property

Definition

Returns SyntaxTree that owns the node or null if node does not belong to a SyntaxTree

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

Property Value

SyntaxTree

Applies to