共用方式為


SyntaxFacts.IsPreprocessorKeyword(SyntaxKind) 方法

定義

判斷權杖實例是否代表預處理器關鍵字

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

參數

kind
SyntaxKind

傳回

適用於