SyntaxTreeOptionsProvider.IsGenerated(SyntaxTree, CancellationToken) 方法

定义

获取是否生成给定树。

public abstract Microsoft.CodeAnalysis.GeneratedKind IsGenerated (Microsoft.CodeAnalysis.SyntaxTree tree, System.Threading.CancellationToken cancellationToken);
abstract member IsGenerated : Microsoft.CodeAnalysis.SyntaxTree * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.GeneratedKind
Public MustOverride Function IsGenerated (tree As SyntaxTree, cancellationToken As CancellationToken) As GeneratedKind

参数

tree
SyntaxTree
cancellationToken
CancellationToken

返回

适用于