SyntaxFacts.GetKeywordKinds 方法

定义

获取所有保留关键字和上下文关键字

public:
 static System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::SyntaxKind> ^ GetKeywordKinds();
public static System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.SyntaxKind> GetKeywordKinds ();
static member GetKeywordKinds : unit -> seq<Microsoft.CodeAnalysis.VisualBasic.SyntaxKind>
Public Shared Function GetKeywordKinds () As IEnumerable(Of SyntaxKind)

返回

适用于