This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveViewEvents Interface > IActiveViewEvents.ItemDeleted Event (ArcObjects .NET 10.5 SDK) |
Fired when an item is deleted from the view.
[Visual Basic .NET] Public Event ItemDeleted As ItemDeletedEventHandler
[C#] public event ItemDeletedEventHandler ItemDeleted
[C++]
HRESULT ItemDeleted(
VARIANT Item
);
[C++]
Parameters Item [in] Item is a parameter of type VARIANT
The PageLayout object fires this event whenever elements are deleted from the layout.
The Map object fires this event when a layer is removed.