Expression.MakeBinary Method (ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression)
Creates a BinaryExpression, given the left operand, right operand, implementing method and type conversion function, by calling the appropriate factory method.
Assembly: System.Core (in System.Core.dll)
public static BinaryExpression MakeBinary( ExpressionType binaryType, Expression left, Expression right, bool liftToNull, MethodInfo method, LambdaExpression conversion )
- Type: System.Linq.Expressions.ExpressionType
The ExpressionType that specifies the type of binary operation.
- Type: System.Boolean
true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
The binaryType parameter determines which BinaryExpression factory method this method will call. For example, if binaryType is Subtract, this method invokes Subtract. The liftToNull, method and conversion parameters are ignored if the appropriate factory method does not have a corresponding parameter.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.