Skip to main content

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.v23.1.dll

NuGet Package: DevExpress.Data


public static AggregateOperand TopLevel(
    string customAggregateName,
    IEnumerable<CriteriaOperator> aggregatedExpressions = null


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.


Type Description

An operand collection passed to a custom aggregate function.

See Also