ArcObjects Library Reference (Carto)  

IActiveViewEvents.ContentsChanged Event

Fired when the contents of the view changes.

[Visual Basic 6.0]
Event ContentsChanged
[Visual Basic .NET]
Public Event ContentsChanged As ContentsChangedEventHandler
[C#]
public event ContentsChangedEventHandler ContentsChanged
[C++]
HRESULT ContentsChanged(
void
);

Product Availability

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

Remarks

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.

See Also

IActiveViewEvents Interface | IActiveView.ContentsChanged Method