ArcGIS Pro 2.9 API Reference Guide
GetSelectedElements Method (ReportView)
Example 

ArcGIS.Desktop.Reports Namespace > ReportView Class : GetSelectedElements Method
Returns a collection of selected report elements.
Syntax
public IReadOnlyList<Element> GetSelectedElements()
Public Function GetSelectedElements() As IReadOnlyList(Of Element)

Return Value

A collection of page report elements.
Example
IReadOnlyList<Element> selectedElements = report.GetSelectedElements();
//Can also use the active ReportView
IReadOnlyList<Element> selectedElementsFromView = ReportView.Active.GetSelectedElements();
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ReportView Class
ReportView Members