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


IGraphicsSelection.ElementSelected Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IGraphicsSelection.ElementSelected Method

Indicates if the element 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* pbIsSelected
);
[C++]

Parameters Element [in]
Element is a parameter of type IElement pbIsSelected [out, retval] pbIsSelected is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IGraphicsSelection Interface