Partilhar via


WhileBlockSyntax.WithStatements(SyntaxList<StatementSyntax>) Método

Definição

Retorna uma cópia disso com a propriedade Statements 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 ^ WithStatements(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax WithStatements (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
member this.WithStatements : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax
Public Function WithStatements (statements As SyntaxList(Of StatementSyntax)) As WhileBlockSyntax

Parâmetros

Retornos

Aplica-se a