Endeca Presentation API
ExprFunction Constructor (func, subExpr, decPlaces)
NamespacesEndeca.Navigation.AnalyticsExprFunctionExprFunctionExprFunctionNew(ExprFunction..::ExprFunctionOp, IExpr, Int32)
Creates a new ExprFunction of the specified subexpression subExpr.
Declaration Syntax
C#Visual BasicVisual C++
public ExprFunction(
	ExprFunction.ExprFunction..::ExprFunctionOp func,
	IExpr subExpr,
	int decPlaces
)
Public Sub New ( _
	func As ExprFunction..::ExprFunctionOp, _
	subExpr As IExpr, _
	decPlaces As Integer _
)
public:
ExprFunction (
	ExprFunction..::ExprFunctionOp^ func, 
	IExpr^ subExpr, 
	int decPlaces
)
Parameters
func (ExprFunction..::ExprFunctionOp)
A function of type ExprFunction..::ExprFunctionOp that specifies the type of operation to be made.
subExpr (IExpr)
An object of type IExpr that will be the subexpression for this ExprFunction.

If func is LAG or LEAD, then subExpr must be an ExprKey.

decPlaces (Int32)
An integer to be used only with the EXTRACT, LAG, LEAD, ROUND, and TRUNC functions.

For ROUND and TRUNC, positive numbers round to the equivalent number of decimal places; negative numbers round to the equivalent place to the left of the decimal place.

For TRUNC (when subExpr is a date/time) and EXTRACT, decPlaces is a constant such as HOUR or YEAR.

Assembly: Endeca.Navigation (Module: Endeca.Navigation) Version: 0.0.0.0