ElseIfStatementSyntax.WithThenKeyword(SyntaxToken) 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ElseIfStatementSyntax ^ WithThenKeyword(Microsoft::CodeAnalysis::SyntaxToken thenKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax WithThenKeyword (Microsoft.CodeAnalysis.SyntaxToken thenKeyword);
member this.WithThenKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ElseIfStatementSyntax
Public Function WithThenKeyword (thenKeyword As SyntaxToken) As ElseIfStatementSyntax

参数

thenKeyword
SyntaxToken

返回

适用于