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.Core.v19.2.dll

Declaration

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

Parameters

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.

Returns

Type Description
ICustomFunctionOperator

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

Remarks

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

See Also