This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.RemoveCache Method (ArcObjects .NET 10.5 SDK) |
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
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.