AggregateOperand(OperandProperty, CriteriaOperator, Aggregate, CriteriaOperator) Constructor

Initializes a new instance of the AggregateOperand class with the specified settings.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v20.2.dll

Declaration

public AggregateOperand(
    OperandProperty collectionProperty,
    CriteriaOperator aggregatedExpression,
    Aggregate type,
    CriteriaOperator condition
)
Public Sub New(
    collectionProperty As OperandProperty,
    aggregatedExpression As CriteriaOperator,
    type As Aggregate,
    condition As CriteriaOperator
)

Parameters

Name Type Description
collectionProperty OperandProperty

An OperandProperty object which represents the collection property. This value is assigned to the AggregateOperand.CollectionProperty property.

aggregatedExpression CriteriaOperator

A CriteriaOperator object which represents the aggregated expression. This value is assigned to the AggregateOperand.AggregatedExpression property.

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