ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Core.Rdl.Seralization.Common Namespace / Coders Class / Enum Method / Enum<T>(T) Method
The enumeration type.
The default enumeration value.

In This Topic
    Enum<T>(T) Method
    In This Topic
    Creates a coder for enumeration values with a default value.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Enum(Of T As {New, Enum, Struct})( _
       ByVal defValue As T _
    ) As Coders.Coder(Of T)
    public static Coders.Coder<T> Enum<T>( 
       T defValue
    )
    where T: new(), Enum, struct

    Parameters

    defValue
    The default enumeration value.

    Type Parameters

    T
    The enumeration type.

    Return Value

    A coder for the specified enumeration type.
    See Also