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.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetCustomFunction(String) 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.