ArcGIS Pro 2.7 API Reference Guide
SelectElements Method (ReportView)
Example 

ArcGIS.Desktop.Reports Namespace > ReportView Class : SelectElements Method
A list of existing report elements.
Set the selected report elements for the report view.
Syntax
public void SelectElements( 
   IReadOnlyList<Element> elements
)
Public Sub SelectElements( _
   ByVal elements As IReadOnlyList(Of Element) _
) 

Parameters

elements
A list of existing report elements.
Example
// Select text elements from the report footer
var reportFooterSection = report.Elements.Where(elm => elm is ReportFooter).FirstOrDefault() as ReportFooter;
var elements = reportFooterSection.GetElementsAsFlattenedList();

reportFooterSection.SelectElements(elements);
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ReportView Class
ReportView Members