ArcGIS Pro 2.9 API Reference Guide
GetSelectedElements Method (GraphicElementContainer)

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

Return Value

A collection of elements.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GraphicElementContainer Class
GraphicElementContainer Members