Freigeben über


SyntaxTree.TryGetText(SourceText) Methode

Definition

Ruft den Text der Syntaxstruktur ab, wenn sie verfügbar ist.

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

Parameter

text
SourceText

Gibt zurück

Gilt für: