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


IActiveView.ContentsChanged Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IActiveView.ContentsChanged Method

Called by clients when view objects are modified.

[Visual Basic .NET]
Public Sub ContentsChanged ( _
)
[C#]
public void ContentsChanged (
);
[C++]
HRESULT ContentsChanged(
void
);

Product Availability

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

Remarks

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 Snippets

Toggle Visibility Of Composite Layer

.NET Samples

Layer property page and property sheet (Code Files: LayerVisibilityPage)