Compartilhar via


SwitchStatementSyntax.WithSwitchKeyword(SyntaxToken) Method

Definition

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

Parameters

switchKeyword
SyntaxToken

Returns

Applies to