View.FlushCache Method
FlushCache()
Flushes caches in the view.Syntax
public void FlushCache ()
Remarks
This methods flushes the caches in all layers and operators in the view. It does not flush dataset caches, or disk caches used by tile layers or globe views.
Note that it is usually better to call Layer.FlushCache for individual layers, rather that flushing the entire view, especially with GlobeView surface layers, or 2D tile layers, as that will reduce flickering when the tiles are reloading. See also FlushLayersContainingObject.
To flush a disk cache, see GlobeView.FlushDiskCache, TileLayer.FlushBitmapCache or OgcWmtsLayer.FlushDiskCache.
Platforms
Windows, Linux, Android