BinaryExpression.Reduce 方法

定义

将二进制表达式节点简化为更简单的表达式。Reduces the binary expression node 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

返回

Expression

已简化的表达式。The reduced expression.

注解

如果 CanReduce 返回 true,则它应返回有效的表达式。If CanReduce returns true, this should return a valid expression.

此方法可以返回本身必须简化的另一个节点。This method can return another node which itself must be reduced.

适用于