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

IBasicDocument.ContextItem Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IB > IBasicDocument Interface > IBasicDocument.ContextItem Property
ArcGIS Developer Help

IBasicDocument.ContextItem Property

The last item that was right-clicked.

[Visual Basic .NET]
Public Property ContextItem As Object
public object ContextItem {get; set;}

Product Availability

Available with ArcGIS Desktop.

See Also

IBasicDocument Interface