PredefinedReportsUpdater.AddPredefinedReport<T>(String, Type) Method

Adds the specified predefined report to the PredefinedReportsUpdater instance.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v18.1.dll

Declaration

public void AddPredefinedReport<T>(
    string displayName,
    Type dataType
)where T : XtraReport
Public Sub AddPredefinedReport(Of T As XtraReport)(
    displayName As String,
    dataType As Type
)

Parameters

Type Name Description
String displayName

A string which is the report's display name.

Type dataType

A type of the business object used by the report's data source.

Type Parameters

Name Description
T

The AddPredefinedReport<T> method's generic parameter specifies the report type (the type of an XtraReport descendant specifying the predefined report layout). An example of using this method is available in the PredefinedReportsUpdater topic.