ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Json.Mapper Namespace / CustomReportItemMappersExt Class / ToEnum<T> Method

In This Topic
    ToEnum<T> Method
    In This Topic
    Converts given ExpressionInfo to enum T
    Syntax
    'Declaration
     
    Public Shared Function ToEnum(Of T As {New, IConvertible, Struct})( _
       ByVal expressionValue As GrapeCity.Enterprise.Data.Expressions.ExpressionInfo, _
       ByVal defaultValue As T _
    ) As T
    public static T ToEnum<T>( 
       GrapeCity.Enterprise.Data.Expressions.ExpressionInfo expressionValue,
       T defaultValue
    )
    where T: new(), IConvertible, struct

    Parameters

    expressionValue
    defaultValue

    Type Parameters

    T
    See Also