共用方式為


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

傳回

適用於