Partilhar via


WhileBlockSyntax.WithWhileStatement(WhileStatementSyntax) Método

Definição

Retorna uma cópia disso com a propriedade WhileStatement alterada para o valor especificado. Retorna essa instância se o valor especificado for o mesmo que o valor atual.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileBlockSyntax ^ WithWhileStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileStatementSyntax ^ whileStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax WithWhileStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax whileStatement);
member this.WithWhileStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax
Public Function WithWhileStatement (whileStatement As WhileStatementSyntax) As WhileBlockSyntax

Parâmetros

whileStatement
WhileStatementSyntax

Retornos

Aplica-se a