ReportsModule.GetCurrentReportDataType(ModuleList) Method

Searches for a ReportsModule instance in a particular module list and returns the Report data type used by the found module.

Namespace: DevExpress.ExpressApp.Reports

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

Declaration

public static Type GetCurrentReportDataType(
    ModuleList modules
)
Public Shared Function GetCurrentReportDataType(
    modules As ModuleList
) As Type

Parameters

Type Name Description
DevExpress.ExpressApp.ModuleList modules

A ModuleList object, which is a collection of modules.

Returns

Type Description
Type

The Report data type used by the ReportsModule instance found in the modules module list.

This method is intended for internal use.

If no ReportsModule instances are contained in the modules collection, the method returns null (Nothing in VB). If there is more than one instance in the collection, the method throws an InvalidOperationException.

See Also