共用方式為


SyntaxFacts.IsReservedKeyword(SyntaxKind) Method

Definition

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

Parameters

kind
SyntaxKind

Returns

Applies to