Skip to main content

CriteriaOperator.UnregisterCustomFunction(String) Method

Unregisters a custom function with a specified name from use in any CriteriaOperator-based criteria in your application.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data


public static bool UnregisterCustomFunction(
    string functionName


Name Type Description
functionName String

The name of a custom function to unregister.


Type Description

true if a custom function whose name matches the functionName has successfully been removed from a collection returned by the CriteriaOperator.GetCustomFunctions function; otherwise, false.


To remove a custom function instance, call the other CriteriaOperator.UnregisterCustomFunction overloaded method and pass the instance as its parameter.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnregisterCustomFunction(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