ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Core.Rdl.Persistence.Json Namespace / ReportItemBaseCoder Class / ReportItem<T> Method
The type of the report item, which must derive from GrapeCity.ActiveReports.PageReportModel.ReportItem.
The current JsonObjectCoderBuilder<TObject> to configure.
A System.String value indicating the name of the report item type.

In This Topic
    ReportItem<T> Method
    In This Topic
    Configures a JsonObjectCoderBuilder<TObject> to handle a specific report item type.
    Syntax
    'Declaration
     
    Public Shared Function ReportItem(Of T As {New, ReportItem})( _
       ByVal coder As JsonObjectCoderBuilder(Of T), _
       ByVal typeName As String _
    ) As JsonObjectCoderBuilder(Of T)
    public static JsonObjectCoderBuilder<T> ReportItem<T>( 
       JsonObjectCoderBuilder<T> coder,
       string typeName
    )
    where T: new(), ReportItem

    Parameters

    coder
    The current JsonObjectCoderBuilder<TObject> to configure.
    typeName
    A System.String value indicating the name of the report item type.

    Type Parameters

    T
    The type of the report item, which must derive from GrapeCity.ActiveReports.PageReportModel.ReportItem.

    Return Value

    The configured JsonObjectCoderBuilder<TObject> instance.
    See Also