All docs
V19.2
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v19.2.dll

Declaration

public ICustomAggregateFormattable GetCustomAggregate(
    string aggregateName
)
Public Function GetCustomAggregate(
    aggregateName As String
) As ICustomAggregateFormattable

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