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

IActiveView.ContentsChanged Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.ContentsChanged Method
ArcGIS Developer Help

IActiveView.ContentsChanged Method

Called by clients when view objects are modified.

[Visual Basic .NET]
Public Sub ContentsChanged ( _
public void ContentsChanged (
HRESULT ContentsChanged(

Product Availability

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


After modifying the contents view (table of contents), use this method to fire the IActiveViewEvents::ContentsChanged event so that clients listening for this event can respond accordingly.

See Also

IActiveView Interface | IActiveViewEvents.ContentsChanged Event

.NET Samples

Layer property page and property sheet