Share via


GeneratedExtensionSyntaxFacts.GetText(SyntaxKind) Method

Definition

Return keyword or punctuation text based on SyntaxKind

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetText(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static string GetText (this Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member GetText : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> string
<Extension()>
Public Function GetText (kind As SyntaxKind) As String

Parameters

kind
SyntaxKind

Returns

Applies to