Skip to main content

CriteriaOperator.GetCustomAggregate(String) Method

Searches custom aggregate functions registered in an application via the RegisterCustomAggregate(ICustomAggregate) and RegisterCustomAggregates(IEnumerable<ICustomAggregate>) method calls for a function with a specified name.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v23.1.dll

NuGet Package: DevExpress.Data


public static ICustomAggregate GetCustomAggregate(
    string aggregateName


Name Type Description
aggregateName String

A custom aggregate function’s name. This value cannot be null (Nothing in Visual Basic) or match a standard aggregate name: Sum, Min, Max, Avg, Count, Exists, or Single.


Type Description

An ICustomAggregate object that corresponds to the aggregateName, if found; otherwise, null (Nothing in Visual Basic).

See Also