共用方式為


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

傳回

適用於