The requested page is not available for the requested platform. You are viewing the content for Default platform.

CriteriaOperator.UnregisterCustomFunction(ICustomFunctionOperator) Method

Unregisters a specified custom function from use in any CriteriaOperator-based criteria in your application.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Core.v19.1.dll

Declaration

public static bool UnregisterCustomFunction(
    ICustomFunctionOperator customFunction
)
Public Shared Function UnregisterCustomFunction(
    customFunction As ICustomFunctionOperator
) As Boolean

Parameters

Name Type Description
customFunction ICustomFunctionOperator

An ICustomFunctionOperator object instance specifying a custom function to unregister.

Returns

Type Description
Boolean

true if the customFunction has successfully been removed from a collection returned by the CriteriaOperator.GetCustomFunctions function; otherwise, false.

Remarks

To remove a custom function with a specific name, call the other CriteriaOperator.UnregisterCustomFunction overloaded method and pass the name as its parameter.

See Also