Partilhar via


MultiLineLambdaExpressionSyntax.WithStatements 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::MultiLineLambdaExpressionSyntax ^ WithStatements(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MultiLineLambdaExpressionSyntax 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.MultiLineLambdaExpressionSyntax
Public Function WithStatements (statements As SyntaxList(Of StatementSyntax)) As MultiLineLambdaExpressionSyntax

Parâmetros

Retornos

Aplica-se a