Partilhar via


SyntaxTree.TryGetText(SourceText) Método

Definição

Obtém o texto da árvore de sintaxe se estiver disponível.

public:
 abstract bool TryGetText([Runtime::InteropServices::Out] Microsoft::CodeAnalysis::Text::SourceText ^ % text);
public abstract bool TryGetText (out Microsoft.CodeAnalysis.Text.SourceText text);
public abstract bool TryGetText (out Microsoft.CodeAnalysis.Text.SourceText? text);
abstract member TryGetText : SourceText -> bool
Public MustOverride Function TryGetText (ByRef text As SourceText) As Boolean

Parâmetros

text
SourceText

Retornos

Aplica-se a