ArcGIS Pro 2.8 API Reference Guide
SelectElements(IEnumerable<Element>) Method

ArcGIS.Desktop.Reports Namespace > Report Class : SelectElements(IEnumerable<Element>) Method
The set of elements to be selected. If null, then all elements are unselected.
Selects the set of elements in the report.
Syntax
public void SelectElements( 
   IEnumerable<Element> elements
)
Public Sub SelectElements( _
   ByVal elements As IEnumerable(Of Element) _
) 

Parameters

elements
The set of elements to be selected. If null, then all elements are unselected.
Exceptions
ExceptionDescription
Elements must belong to the report.
Remarks
If a child of a group element is provided in the list of elements to be selected in addition to its parent then the parent is the element selected. In addition if multiple section elements are in the list of elements, then only the first section element specified is selected.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Report Class
Report Members