共用方式為


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