LoopStatementSyntax.WithWhileOrUntilClause(WhileOrUntilClauseSyntax) 方法

定义

返回具有 WhileOrUntilClause 属性更改为指定值的副本。 如果指定的值与当前值相同,则返回此实例。

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

参数

whileOrUntilClause
WhileOrUntilClauseSyntax

返回

适用于