Skip to main content

ConnectionProviderSql.GetCustomAggregate(String) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public ICustomAggregateFormattable 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
ICustomAggregateFormattable

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

See Also