ArcObjects Library Reference  (Carto)    

IGraphicsContainerSelect.ElementSelected Method

Indicates if the element is selected.

[Visual Basic 6.0]
Function ElementSelected(
    ByVal Element As IElement _
) As Boolean
[Visual Basic .NET]
Public Function ElementSelected ( _
    ByVal Element As IElement _
) As Boolean
[C#]
public bool ElementSelected (
    IElement Element
);
[Java]
public Boolean elementSelected (
    IElement Element
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ElementSelected(
  IElement* Element,
  VARIANT_BOOL* ElementSelected
);
[C++]

Parameters

Element [in]

  Element is a parameter of type IElement

ElementSelected [out, retval]

  ElementSelected is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

Returns TRUE if the specified element is selected.

See Also

IGraphicsContainerSelect Interface

 


Feedback Send feedback on this page