ArcObjects Library Reference (Carto)  

IActiveViewEvents.ItemAdded Event

Fired when an item is added to the view.

[Visual Basic .NET]
Public Event ItemAdded As ItemAddedEventHandler
[C#]
public event ItemAddedEventHandler ItemAdded
[C++]
HRESULT ItemAdded(
  VARIANT Item
);
[C++]

Parameters

Item [in]   Item is a parameter of type VARIANT

Product Availability

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

Remarks

The Map fires the event every time a new layer is added.

The PageLayout fires this event whenever a new element is added to the layout.  Elements include not only graphics but data frames as well.

See Also

IActiveViewEvents Interface