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


IScreenDisplay.RemoveCache Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IScreenDisplay.RemoveCache Method

Removes the specified cache.

[Visual Basic .NET]
Public Sub RemoveCache ( _
    ByVal cacheID As Short _
)
[C#]
public void RemoveCache (
    short cacheID
);
[C++]
HRESULT RemoveCache(
  short cacheID
);
[C++]

Parameters cacheID [in] cacheID is a parameter of type short

Product Availability

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

Remarks

Use this method to remove a cache that is no longer needed.  For example, calling the IActiveView::PartialRefresh method on a Map object will delete the Map's selection cache if one exists and there are no features selected.

The AppDisplay object has no implementation for this method.

See Also

IScreenDisplay Interface