Skip to main content

CriteriaOperator.GetCustomFunction(String) Method

Searches custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls for a function with a specified name.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data


public static ICustomFunctionOperator GetCustomFunction(
    string functionName


Name Type Description
functionName String

The name of a custom function to search. You specify a custom function’s name by implementing the ICustomFunctionOperator.Name property.


Type Description

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


This method searches a collection returned by the CriteriaOperator.GetCustomFunctions function for a custom function whose name matches the functionName.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetCustomFunction(String) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also