AggregateOperand.TopLevel(Aggregate, 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(
    Aggregate type,
    CriteriaOperator aggregatedExpression = null
)
Public Shared Function TopLevel(
    type As Aggregate,
    aggregatedExpression As CriteriaOperator = Nothing
) As AggregateOperand

Parameters

Name Type Description
type Aggregate

An Aggregate enumeration value that specifies the type of the aggregate operator. This value is assigned to the AggregateOperand.AggregateType property.

Optional Parameters

Name Type Default Description
aggregatedExpression CriteriaOperator

null

An aggregated expression assigned to the AggregateOperand.AggregatedExpression property.

Returns

Type Description
AggregateOperand

An operand collection passed to a custom aggregate function.

See Also