Condividi tramite


SyntaxTreeOptionsProvider.IsGenerated(SyntaxTree, CancellationToken) Metodo

Definizione

Ottiene un valore che indica se viene generato l'albero specificato.

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

Parametri

tree
SyntaxTree
cancellationToken
CancellationToken

Restituisce

Si applica a