共用方式為


SyntaxFacts.GetSwitchLabelKind(SyntaxKind) Method

Definition

public:
 static Microsoft::CodeAnalysis::CSharp::SyntaxKind GetSwitchLabelKind(Microsoft::CodeAnalysis::CSharp::SyntaxKind keyword);
public static Microsoft.CodeAnalysis.CSharp.SyntaxKind GetSwitchLabelKind (Microsoft.CodeAnalysis.CSharp.SyntaxKind keyword);
static member GetSwitchLabelKind : Microsoft.CodeAnalysis.CSharp.SyntaxKind -> Microsoft.CodeAnalysis.CSharp.SyntaxKind
Public Function GetSwitchLabelKind (keyword As SyntaxKind) As SyntaxKind

Parameters

keyword
SyntaxKind

Returns

Applies to