Skip to main content
A newer version of this page is available. .

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

Adds the specified predefined report to the PredefinedReportsUpdater instance.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

public void AddPredefinedReport<T>(
    string displayName,
    Type dataType
)
    where T : XtraReport

Parameters

Name Type Description
displayName String

A string which is the report’s display name.

dataType Type

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

Type Parameters

Name
T

Remarks

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.

See Also