AggregateOperand.TopLevel(Aggregate, 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(
Aggregate type,
CriteriaOperator aggregatedExpression = null
)
#Parameters
Name | Type | Description |
---|---|---|
type | Aggregate | An Aggregate enumeration value that specifies the type of the aggregate operator. This value is assigned to the Aggregate |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
aggregated |
Criteria |
null | An aggregated expression assigned to the Aggregate |
#Returns
Type | Description |
---|---|
Aggregate |
An operand collection passed to a custom aggregate function. |
See Also