All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.2.dll

Declaration

public static AggregateOperand TopLevel(
    string customAggregateName,
    IEnumerable<CriteriaOperator> aggregatedExpressions = null
)
Public Shared Function TopLevel(
    customAggregateName As String,
    aggregatedExpressions As IEnumerable(Of CriteriaOperator) = Nothing
) As AggregateOperand

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