Share via


SwitchExpressionSyntax.WithSwitchKeyword(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax WithSwitchKeyword (Microsoft.CodeAnalysis.SyntaxToken switchKeyword);
member this.WithSwitchKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Function WithSwitchKeyword (switchKeyword As SyntaxToken) As SwitchExpressionSyntax

Parameters

switchKeyword
SyntaxToken

Returns

Applies to