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

CriteriaOperator.GetCustomFunction(String) Method

Returns a registered custom function with the specified name.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

Declaration

public static ICustomFunctionOperator GetCustomFunction(
    string functionName
)

Parameters

Name Type Description
functionName String

The name of a function to return.

Returns

Type Description
ICustomFunctionOperator

The custom function.

Remarks

Note that all custom functions the method can return must be registered via the CriteriaOperator.RegisterCustomFunction or CriteriaOperator.RegisterCustomFunctions method.

You can use the CriteriaOperator.UnregisterCustomFunction(String) or CriteriaOperator.UnregisterCustomFunction(ICustomFunctionOperator) to cancel function registration and this method will not return a function.

See Also