ArcGIS Pro 2.6 API Reference Guide
SelectElements Method (LayoutView)
Example 

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

Parameters

elements
A list of existing layout elements.
Example
//Set the layout's element selection.

Element rec = layoutView.Layout.FindElement("Rectangle");
Element rec2 = layoutView.Layout.FindElement("Rectangle 2");

List<Element> elmList = new List<Element>();
elmList.Add(rec);
elmList.Add(rec2);

layoutView.SelectElements(elmList);
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

LayoutView Class
LayoutView Members