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)