Delen via


LoopStatementSyntax.WithWhileOrUntilClause(WhileOrUntilClauseSyntax) Method

Definition

Returns a copy of this with the WhileOrUntilClause 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::LoopStatementSyntax ^ WithWhileOrUntilClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax WithWhileOrUntilClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
member this.WithWhileOrUntilClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax
Public Function WithWhileOrUntilClause (whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax

Parameters

whileOrUntilClause
WhileOrUntilClauseSyntax

Returns

Applies to