This document is archived and information here might be outdated.  Recommended version.

IGraphicsContainerSelect.ElementSelected Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainerSelect Interface > IGraphicsContainerSelect.ElementSelected Method
ArcGIS Developer Help

IGraphicsContainerSelect.ElementSelected Method

Indicates if the element is selected.

[Visual Basic .NET]
Public Function ElementSelected ( _
    ByVal Element As IElement _
) As Boolean
public bool ElementSelected (
    IElement Element
HRESULT ElementSelected(
  IElement* Element
Element [in]

Element is a parameter of type IElement*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Returns TRUE if the specified element is selected.

See Also

IGraphicsContainerSelect Interface

.NET Samples

Move a graphic along a path in ArcMap