Share via


VisualBasicSyntaxTree.GetRoot(CancellationToken) Method

Definition

Gets the root node of the syntax tree.

public abstract Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode GetRoot (System.Threading.CancellationToken cancellationToken = default);
override this.GetRoot : System.Threading.CancellationToken -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode
Public MustOverride Function GetRoot (Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode

Parameters

cancellationToken
CancellationToken

Returns

Applies to