ArcObjects Library Reference  (Carto)    

IGraphicsContainerSelect.SelectedElement Method

Returns the nth selected element. Use Selection count to get the number of selected elements.

[Visual Basic 6.0]
Function SelectedElement(
    ByVal Index As Long _
) As IElement
[Visual Basic .NET]
Public Function SelectedElement ( _
    ByVal Index As Integer _
) As IElement
[C#]
public IElement SelectedElement (
    int Index
);
[Java]
public IElement selectedElement (
    int Index
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SelectedElement(
  long Index,
  IElement** Element
);
[C++]

Parameters

Index [in]

  Index is a parameter of type long

Element [out, retval]

  Element is a parameter of type IElement

Product Availability

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

See Also

IGraphicsContainerSelect Interface

 


Feedback Send feedback on this page