Skip to main content

CriteriaOperator.UnregisterCustomFunction(ICustomFunctionOperator) Method

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

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public static bool UnregisterCustomFunction(
    ICustomFunctionOperator customFunction
)

Parameters

Name Type Description
customFunction ICustomFunctionOperator

An ICustomFunctionOperator object instance specifying a custom function to unregister.

Returns

Type Description
Boolean

true if the customFunction has successfully been removed from a collection returned by the CriteriaOperator.GetCustomFunctions function; otherwise, false.

Remarks

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the UnregisterCustomFunction(ICustomFunctionOperator) method.

Note

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