MemberInitExpression.Reduce Method

Definition

Reduces the MemberInitExpression to a simpler expression.

public:
 override System::Linq::Expressions::Expression ^ Reduce();
public override System.Linq.Expressions.Expression Reduce ();
override this.Reduce : unit -> System.Linq.Expressions.Expression
Public Overrides Function Reduce () As Expression

Returns

The reduced expression.

Remarks

If the CanReduce method returns true, this method should return a valid expression.

This method is allowed to return another node which itself must be reduced.

Applies to