CustomFunctions.Unregister(String) Method

Unregisters a custom function with the specified name from the End-User Report Designer‘s Expression Editor.

Namespace: DevExpress.XtraReports.Expressions

Assembly: DevExpress.XtraReports.v21.1.dll

Declaration

public static bool Unregister(
    string name
)

Parameters

Name Type Description
name String

A String object that the name of a custom function to unregister.

Returns

Type Description
Boolean

true, if a function with the specified name has successfully been unregistred; otherwise, false.

Remarks

Call the Unregister metod at applicaton startup to remove a registered custom function:

DevExpress.XtraReports.Expressions.CustomFunctions.Unregister("CustomFormatFunction");

After this code is executed, the function is not available in the Expression Editor and won’t be evaluated in expressions.

Tip

A custom function in DevExpress Reporting is an object that descends from the ReportCustomFunctionOperatorBase abstract class. Review the following topic for more information and code examples: CustomFunctions.

See Also