Skip to main content
All docs
V25.1
  • 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.v25.1.dll

    NuGet Package: DevExpress.Data

    #Declaration

    public static ICustomAggregate GetCustomAggregate(
        string aggregateName
    )

    #Parameters

    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.

    #Returns

    Type Description
    ICustomAggregate

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

    See Also