AggregateOperand.Count(CriteriaOperator) Method

Creates a new AggregateOperand which returns the count of AggregateOperand.CollectionProperty elements that match the AggregateOperand.Condition.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v20.2.dll

Declaration

public AggregateOperand Count(
    CriteriaOperator aggregatedExpression
)
Public Function Count(
    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