VisualBasicSyntaxTree.GetRoot(CancellationToken) 方法

定义

获取语法树的根节点。

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

参数

cancellationToken
CancellationToken

返回

适用于