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


IGraphicsContainerSelect.SelectElement 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.SelectElement Method
ArcGIS Developer Help

IGraphicsContainerSelect.SelectElement Method

Selects the specified element.

[Visual Basic .NET]
Public Sub SelectElement ( _
    ByVal Element As IElement _
)
[C#]
public void SelectElement (
    IElement Element
);
[C++]
HRESULT SelectElement(
  IElement* Element
);
[C++]
Parameters
Element [in]

Element is a parameter of type IElement*

Product Availability

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

Remarks

Adds the specified element to the element selection and fires the IActiveViewEvents::SelectionChanged event.

See Also

IGraphicsContainerSelect Interface