This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainerSelect Interface > IGraphicsContainerSelect.SelectedElements Property (ArcObjects .NET 10.4 SDK) |
The selected elements.
[Visual Basic .NET] Public ReadOnly Property SelectedElements As IEnumElement
[C#] public IEnumElement SelectedElements {get;}
[C++]
HRESULT get_SelectedElements(
IEnumElement** Elements
);
[C++]
Parameters Elements [out, retval]
Elements is a parameter of type IEnumElement
Returns an IEnumElement containing all of the selected elements.
An IEnumElement reference to the element selection is also available from IViewManager::ElementSelection and IActiveView::Selection (QI from ISelection).
IGraphicsContainerSelect Interface | IViewManager.ElementSelection Property