AggregateOperand.TopLevel(String, IEnumerable<CriteriaOperator>) Method
Creates a new top-level AggregateOperand that returns values calculated by the given custom aggregate expression.
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
public static AggregateOperand TopLevel(
string customAggregateName,
IEnumerable<CriteriaOperator> aggregatedExpressions = null
)
Parameters
Name | Type | Description |
---|---|---|
customAggregateName | String | A custom aggregate function‘s name. This value cannot be null (Nothing in Visual Basic) or match a standard aggregate name: Sum, Min, Max, Avg, Count, Exists, or Single. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
aggregatedExpressions | IEnumerable<CriteriaOperator> | null | A collection of aggregated expressions to be assigned to the AggregateOperand.CustomAggregateOperands property. |
Returns
Type | Description |
---|---|
AggregateOperand | An operand collection passed to a custom aggregate function. |
See Also