CriteriaOperator.GetCustomFunction(String) Method
In This Article
Returns a registered custom function with the specified name.
Namespace: DevExpress.XamarinForms.Core.Filtering
Assembly: DevExpress.XamarinForms.Core.dll
NuGet Package: DevExpress.XamarinForms.Core
#Declaration
C#
public static ICustomFunctionOperator GetCustomFunction(
string functionName
)
#Parameters
Name | Type | Description |
---|---|---|
function |
String | The name of a function to return. |
#Returns
Type | Description |
---|---|
ICustom |
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