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

CriteriaOperator.RegisterCustomFunction(ICustomFunctionOperator) Method

Registers the specified custom function.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

Declaration

public static void RegisterCustomFunction(
    ICustomFunctionOperator customFunction
)

Parameters

Name Type Description
customFunction ICustomFunctionOperator

Custom function to register in the Criteria Language.

Remarks

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

You can use the CriteriaOperator.UnregisterCustomFunction(String) or CriteriaOperator.UnregisterCustomFunction(ICustomFunctionOperator) to cancel function registration.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RegisterCustomFunction(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