See Also: BinaryExpression Members
The following tables summarize the factory methods that can be used to create a System.Linq.Expressions.BinaryExpression that has a specific node type, represented by the Expression.NodeType property. Each table contains information for a specific class of operations such as arithmetic or bitwise.
ExpressionType.And | |
ExpressionType.Or | |
ExpressionType.ExclusiveOr |
ExpressionType.LeftShift | |
ExpressionType.RightShift |
ExpressionType.AndAlso | |
ExpressionType.OrElse |
ExpressionType.Coalesce |
ExpressionType.ArrayIndex |
In addition, the erload:System.Linq.Expressions.Expression.MakeBinary methods can also be used to create a System.Linq.Expressions.BinaryExpression. These factory methods can be used to create a System.Linq.Expressions.BinaryExpression of any node type that represents a binary operation. The parameter of these methods that is of type Expression.NodeType specifies the desired node type.