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

IMxDocument.DelayUpdateContents Property (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.DelayUpdateContents Property
ArcGIS Developer Help

IMxDocument.DelayUpdateContents Property

Indicates document update notifications should be ignored.

[Visual Basic .NET]
Public WriteOnly Property DelayUpdateContents
public void DelayUpdateContents {set;}

Product Availability

Available with ArcGIS Desktop.


Delays calling refresh of the current contents view.  For example, after loading a layer you should call UpdateContents to refresh the contents view (table on contents).  When loading several layers, there is no need to refresh the contents view after each layer is loaded; instead, delay refreshing the contents view until all the layers have been loaded. 

All calls to UpdateContents are ignored when DelayUpdateContents is set to TRUE.  To ensure the contents view is ultimately refreshed, UpdateContents is automatically called when DelayUpdateContents is set back to FALSE.

See Also

IMxDocument Interface