共用方式為


GeneratedExtensionSyntaxFacts.GetText(SyntaxKind) 方法

定義

根據 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

參數

kind
SyntaxKind

傳回

適用於