AggregateOperand.TopLevel(String, IEnumerable<CriteriaOperator>) Method
In This Article
Creates a new top-level AggregateOperand that returns values calculated by the given custom aggregate expression.
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public static AggregateOperand TopLevel(
string customAggregateName,
IEnumerable<CriteriaOperator> aggregatedExpressions = null
)
#Parameters
Name | Type | Description |
---|---|---|
custom |
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 |
---|---|---|---|
aggregated |
IEnumerable<Criteria |
null | A collection of aggregated expressions to be assigned to the Aggregate |
#Returns
Type | Description |
---|---|
Aggregate |
An operand collection passed to a custom aggregate function. |
See Also