Skip to main content

CustomAggregateCollection.GetCustomAggregate(String) Method

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

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v24.2.dll

Declaration

public 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

A custom aggregate function.

See Also