SelectStatementSyntax.WithCaseKeyword(SyntaxToken) 方法

定义

返回此副本,其中 CaseKeyword 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::SelectStatementSyntax ^ WithCaseKeyword(Microsoft::CodeAnalysis::SyntaxToken caseKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax WithCaseKeyword (Microsoft.CodeAnalysis.SyntaxToken caseKeyword);
member this.WithCaseKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SelectStatementSyntax
Public Function WithCaseKeyword (caseKeyword As SyntaxToken) As SelectStatementSyntax

参数

caseKeyword
SyntaxToken

返回

适用于