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

Declaration

public static void RegisterEnum(
    Type enumType,
    string toStringName
)
Public Shared Sub RegisterEnum(
    enumType As Type,
    toStringName As String
)

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