共用方式為


SyntaxFacts.IsContextualKeyword(SyntaxKind) 方法

定義

判斷種類是否代表內容關鍵字

public:
 static bool IsContextualKeyword(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsContextualKeyword (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsContextualKeyword : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
Public Shared Function IsContextualKeyword (kind As SyntaxKind) As Boolean

參數

kind
SyntaxKind

傳回

適用於