ExpressionVisitor::VisitNew Method (NewExpression^)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Visits the children of the NewExpression.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public protected:
virtual Expression^ VisitNew(
	NewExpression^ node


Type: System.Linq.Expressions::NewExpression^

The expression to visit.

Return Value

Type: System.Linq.Expressions::Expression^

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top