共用方式為


SyntaxFacts.IsPreprocessorDirective(SyntaxKind) Method

Definition

public:
 static bool IsPreprocessorDirective(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static bool IsPreprocessorDirective (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member IsPreprocessorDirective : Microsoft.CodeAnalysis.CSharp.SyntaxKind -> bool
Public Function IsPreprocessorDirective (kind As SyntaxKind) As Boolean

Parameters

kind
SyntaxKind

Returns

Applies to