WhileOrUntilClauseSyntax.WithWhileOrUntilKeyword(SyntaxToken) 方法

定义

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ WithWhileOrUntilKeyword(Microsoft::CodeAnalysis::SyntaxToken whileOrUntilKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax WithWhileOrUntilKeyword (Microsoft.CodeAnalysis.SyntaxToken whileOrUntilKeyword);
member this.WithWhileOrUntilKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax
Public Function WithWhileOrUntilKeyword (whileOrUntilKeyword As SyntaxToken) As WhileOrUntilClauseSyntax

参数

whileOrUntilKeyword
SyntaxToken

返回

适用于