ArcObjects Library Reference (Carto)  

IGraphicsContainerSelect.ElementSelected Method

Indicates if the element is selected.

[Visual Basic .NET]
Public Function ElementSelected ( _
    ByVal Element As IElement _
) As Boolean
[C#]
public bool ElementSelected (
    IElement Element
);
[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