A newer version of this page is available. Switch to the current version.

AggregateOperand(String, Aggregate, CriteriaOperator) Constructor

Initializes a new instance of the AggregateOperand class.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v19.2.dll


public AggregateOperand(
    string collectionProperty,
    Aggregate type,
    CriteriaOperator condition
Public Sub New(
    collectionProperty As String,
    type As Aggregate,
    condition As CriteriaOperator


Name Type Description
collectionProperty String

A String value which specifies the name of the collection property whose values are used to calculate the aggregate expression. It can be represented by a path through object relationships, for example "Employer.Addresses".

type Aggregate

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

condition CriteriaOperator

A CriteriaOperator object which represents the filter criteria. null (Nothing in Visual Basic) if the filter criteria isn't needed. This value is assigned to the AggregateOperand.Condition property.

See Also