All docs
V20.1
20.1
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.

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.v20.1.dll

Declaration

public static ICustomAggregate GetCustomAggregate(
    string aggregateName
)
Public Shared Function GetCustomAggregate(
    aggregateName As String
) As ICustomAggregate

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