Partilhar via


SyntaxTree.TryGetRootCore(SyntaxNode) Método

Definição

Obtém a raiz da árvore de sintaxe se ela estiver disponível.

protected:
 abstract bool TryGetRootCore([Runtime::InteropServices::Out] Microsoft::CodeAnalysis::SyntaxNode ^ % root);
protected abstract bool TryGetRootCore (out Microsoft.CodeAnalysis.SyntaxNode root);
protected abstract bool TryGetRootCore (out Microsoft.CodeAnalysis.SyntaxNode? root);
abstract member TryGetRootCore : SyntaxNode -> bool
Protected MustOverride Function TryGetRootCore (ByRef root As SyntaxNode) As Boolean

Parâmetros

root
SyntaxNode

Retornos

Aplica-se a