Skip to main content
A newer version of this page is available. .

EnumProcessingHelper.RegisterEnum(Type, String) Method

Enables serialization of the specified enumeration type values in Criteria Language expressions.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v20.2.dll

NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data

Declaration

public static void RegisterEnum(
    Type enumType,
    string toStringName
)

Parameters

Name Type Description
enumType Type

A Type object specifying the type of enumeration to be registered.

toStringName String

A string that specifies the enumeration name to be used in criteria instead of FullName.

See Also