共用方式為


SyntaxFacts.GetContextualKeywordKind(String) Method

Definition

public:
 static Microsoft::CodeAnalysis::CSharp::SyntaxKind GetContextualKeywordKind(System::String ^ text);
public static Microsoft.CodeAnalysis.CSharp.SyntaxKind GetContextualKeywordKind (string text);
static member GetContextualKeywordKind : string -> Microsoft.CodeAnalysis.CSharp.SyntaxKind
Public Function GetContextualKeywordKind (text As String) As SyntaxKind

Parameters

text
String

Returns

Applies to