Skip to main content

CriteriaOperator.UnregisterCustomFunction(ICustomFunctionOperator) Method

Cancels registration of the specified custom function.

Namespace: DevExpress.XamarinForms.Core.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.

See Also