Creates a new ExprFunction of the specified
subexpression subExpr.
Declaration Syntax
C# | Visual Basic | Visual 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.
- 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.