Share via


WhileOrUntilClauseSyntax.WithWhileOrUntilKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the WhileOrUntilKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

whileOrUntilKeyword
SyntaxToken

Returns

Applies to