ReportsModuleV2.FindReportsModule(ModuleList) Method

Searches for a ReportsModuleV2 instance in a particular module list.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Syntax

public static ReportsModuleV2 FindReportsModule(
    ModuleList modules
)

Parameters

Type Name Description
DevExpress.ExpressApp.ModuleList modules

A ModuleList object, which is a collection of modules.

Returns

Type Description
ReportsModuleV2

A ReportsModuleV2 instance found in the modules module list.

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.