Skip to main content
A newer version of this page is available. .

CriteriaOperator.UnregisterCustomFunction(ICustomFunctionOperator) Method

Cancels registration of the specified custom function.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

NuGet Package: DevExpress.XamarinForms.Core

Declaration

public static bool UnregisterCustomFunction(
    ICustomFunctionOperator customFunction
)

Parameters

Name Type Description
customFunction ICustomFunctionOperator

The custom function whose registration should be cancelled.

Returns

Type Description
Boolean

true, if a the specified function was removed from a collection of custom functions; otherwise, false.

Remarks

The CriteriaOperator.GetCustomFunction(String) and CriteriaOperator.GetCustomFunctions methods return registered functions.

You can register new functions via the CriteriaOperator.RegisterCustomFunction or CriteriaOperator.RegisterCustomFunctions method.

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