ArcObjects Library Reference (Carto)  

IActiveView.Refresh Method

Causes the entire view to draw.

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

Product Availability

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

Remarks

IActiveView::Refresh invalidates all of the caches.  This is a very inefficient operation; typically data from just one source has to be reread from the database and the rest can be drawn from cache.  IActiveView::PartialRefresh uses it's knowledge of the cache layout to invalidate as little as possible and should be used whenever possible.

See Also

IActiveView Interface | IActiveView.PartialRefresh Method | esriViewDrawPhase Constants | IActiveView.ScreenCacheID Property | IActiveView.Refresh Method | IScreenDisplay.Invalidate Method