共用方式為


SyntaxFacts.GetPreprocessorKeywordKind(String) 方法

定義

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

參數

text
String

傳回

適用於