ArcGIS Pro 2.9 API Reference Guide
SelectElements(IReadOnlyList<Element>) Method

ArcGIS.Desktop.Layouts Namespace > GraphicElementContainer Class > SelectElements Method : SelectElements(IReadOnlyList<Element>) Method
A list of existing elements.
Select the specified elements. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SelectElements( 
   IReadOnlyList<Element> elements
)
Public Overloads Sub SelectElements( _
   ByVal elements As IReadOnlyList(Of Element) _
) 

Parameters

elements
A list of existing elements.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GraphicElementContainer Class
GraphicElementContainer Members
Overload List