ExpressionVisitor.VisitNew(NewExpression) Method

Definition

Visits the children of the NewExpression.

protected public:
 virtual System::Linq::Expressions::Expression ^ VisitNew(System::Linq::Expressions::NewExpression ^ node);
protected internal virtual System.Linq.Expressions.Expression VisitNew (System.Linq.Expressions.NewExpression node);
abstract member VisitNew : System.Linq.Expressions.NewExpression -> System.Linq.Expressions.Expression
override this.VisitNew : System.Linq.Expressions.NewExpression -> System.Linq.Expressions.Expression
Protected Friend Overridable Function VisitNew (node As NewExpression) As Expression

Parameters

node
NewExpression

The expression to visit.

Returns

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

Applies to