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.ContentsChanged Event (ArcObjects .NET 10.5 SDK) |
Fired when the contents of the view changes.
[Visual Basic .NET] Public Event ContentsChanged As ContentsChangedEventHandler
[C#] public event ContentsChangedEventHandler ContentsChanged
[C++]
HRESULT ContentsChanged(
void
);
The Map object fires this event when a new document is loaded. Adding a new layer to a Map does not trigger this event.
The PageLayout object fires the event when IGraphicsContainer::DeleteAllElements in called and when a new document is loaded.
IActiveViewEvents Interface | IActiveView.ContentsChanged Method