SwitchStatementSyntax.WithSwitchKeyword(SyntaxToken) 方法

定义

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

参数

switchKeyword
SyntaxToken

返回

适用于