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

IMxDocument.UpdateContents Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.UpdateContents Method
ArcGIS Developer Help

IMxDocument.UpdateContents Method

Notifies the document that the contents have been updated.

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

Product Availability

Available with ArcGIS Desktop.


Refreshes the current view in the table of contents.  UpdateContents is a shortcut - it calls Refresh on the current contents view (IContentsView::Refresh).  Access to the current view is provided through IMxDocument::CurrentContentsView.

See Also

IMxDocument Interface