ArcObjects Library Reference  (Display)    

IScreenDisplay.RemoveCache Method

Removes the specified cache.

[Visual Basic 6.0]
Sub RemoveCache(
    ByVal cacheID As Integer _
)
[Visual Basic .NET]
Public Sub RemoveCache ( _
    ByVal cacheID As Short _
)
[C#]
public void RemoveCache (
    short cacheID
);
[Java]
public void removeCache (
    short cacheID
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page