DoStatementSyntax.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::DoStatementSyntax ^ WithWhileOrUntilClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax WithWhileOrUntilClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
member this.WithWhileOrUntilClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Function WithWhileOrUntilClause (whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax

Parameters

whileOrUntilClause
WhileOrUntilClauseSyntax

Returns

Applies to