SyntaxFacts.IsIfDirectiveTrivia(SyntaxKind) 方法

定义

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

参数

kind
SyntaxKind

返回

适用于