DynamicExpression.Update Method (IEnumerable<Expression>)

 

Compares the value sent to the parameter, arguments, to the Arguments property of the current instance of DynamicExpression. If the values of the parameter and the property are equal, the current instance is returned. If they are not equal, a new DynamicExpression instance is returned that is identical to the current instance except that the Arguments property is set to the value of parameter arguments.

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

public DynamicExpression Update(
	IEnumerable<Expression> arguments
)

Parameters

arguments
Type: System.Collections.Generic.IEnumerable<Expression>

The Arguments property of the result.

Return Value

Type: System.Linq.Expressions.DynamicExpression

This expression if no children are changed or an expression with the updated children.

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