Skip to main content
A newer version of this page is available. .

AggregateOperand.Single(CriteriaOperator) Method

Creates a new AggregateOperand which returns the single object from the current operand’s CollectionProperty that matches the current operand’s <AggregateOperand.Condition. The collection must be empty or contain one object.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

Declaration

public AggregateOperand Single(
    CriteriaOperator aggregatedExpression
)

Parameters

Name Type Description
aggregatedExpression CriteriaOperator

The operator that specifies the property of an object from the collection by which the aggregate operator computes the aggregate value. The operator can specify a path through object relationships, for example "Address.City".

Returns

Type Description
AggregateOperand

The new Single operand.

See Also