SyntaxFacts.IsReservedKeyword(SyntaxKind) 方法

定义

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

参数

kind
SyntaxKind

返回

适用于