A newer version of this page is available. Switch to the current version.

CriteriaOperator.GetCustomFunction(String) Method

Searches custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls for a function with a specified name.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v19.2.dll


public static ICustomFunctionOperator GetCustomFunction(
    string functionName
Public Shared Function GetCustomFunction(
    functionName As String
) As ICustomFunctionOperator


Name Type Description
functionName String

The name of a custom function to search. You specify a custom function's name by implementing the ICustomFunctionOperator.Name property.


Type Description

An ICustomFunctionOperator object that corresponds to the functionName, if found; otherwise, null (Nothing in Visual Basic).


This method searches a collection returned by the CriteriaOperator.GetCustomFunctions function for a custom function whose name matches the functionName.

See Also