共用方式為


SyntaxTree.GetRootCore(CancellationToken) 方法

定義

取得語法樹狀結構的根節點,必要時會導致計算。

protected:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ GetRootCore(System::Threading::CancellationToken cancellationToken);
protected abstract Microsoft.CodeAnalysis.SyntaxNode GetRootCore (System.Threading.CancellationToken cancellationToken);
abstract member GetRootCore : System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
Protected MustOverride Function GetRootCore (cancellationToken As CancellationToken) As SyntaxNode

參數

cancellationToken
CancellationToken

傳回

適用於