Compartir a través de


SyntaxTree.TryGetText(SourceText) Método

Definición

Obtiene el texto del árbol de sintaxis si está disponible.

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

Devoluciones

Se aplica a