Skip to main content

AggregateOperand(String, Aggregate) Constructor

Initializes a new instance of the AggregateOperand class with the specified collection property and operator type.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public AggregateOperand(
    string collectionProperty,
    Aggregate type
)

Parameters

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.

See Also