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


IScreenDisplay.RemoveCache Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.RemoveCache Method
ArcGIS Developer Help

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