Skip to main content
A newer version of this page is available. .

AggregateOperand.Sum(CriteriaOperator) Method

Creates a new AggregateOperand which returns the sum of values calculated by the given aggregate expression. This expression is evaluated against elements of the AggregateOperand.CollectionProperty that match the specified AggregateOperand.Condition.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v19.2.dll

Declaration

public AggregateOperand Sum(
    CriteriaOperator aggregatedExpression
)

Parameters

Name Type Description
aggregatedExpression CriteriaOperator

A CriteriaOperator object which specifies the aggregate expression.

Returns

Type Description
AggregateOperand

An AggregateOperand object which calculates an aggregate expression.

See Also