An ExprBinary is a type of IExpr that
represents a binary scalar expression. These expressions
provide a full range of mathematical functions, such as
addition and subtraction operators.
Namespace: Endeca.Navigation.AnalyticsAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)
Syntax
C# |
---|
public class ExprBinary : IExpr, IQueryNode |
Visual Basic |
---|
Public Class ExprBinary _ Implements IExpr, IQueryNode |
Visual C++ |
---|
public ref class ExprBinary : IExpr, IQueryNode |
Examples
This code subtracts one from an integer property named Year:
In the example, the ExprBinary object is set in a LookupList object.
CopyC#
LookupList lookup = new LookupList(); lookup.add(new ExprBinary(ExprBinary.MINUS, new ExprKey("Year"), new ExprConstant("1")));