AggregateOperand.Max(CriteriaOperator) Method

Creates a new AggregateOperand which returns the maximum of the 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.v20.2.dll

Declaration

public AggregateOperand Max(
    CriteriaOperator aggregatedExpression
)
Public Function Max(
    aggregatedExpression As CriteriaOperator
) As AggregateOperand

Parameters

Name Type Description
aggregatedExpression CriteriaOperator

A CriteriaOperator object which specifies the aggregate expression. This parameter may be ignored in certain circumstances.

Returns

Type Description
AggregateOperand

An AggregateOperand object which calculates an aggregate expression.

See Also