Skip to main content
.NET 6.0+

ReportsModuleV2.FindReportsModule(ModuleList) Method

Searches for a ReportsModuleV2 instance in a particular module list.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

public static ReportsModuleV2 FindReportsModule(
    ModuleList modules
)

Parameters

Name Type Description
modules DevExpress.ExpressApp.ModuleList

A ModuleList object, which is a collection of modules.

Returns

Type Description
ReportsModuleV2

A ReportsModuleV2 instance found in the modules module list.

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FindReportsModule(ModuleList) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also