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

返回

适用于