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

IDynamicCacheLayerManager.Cacheable Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDynamicCacheLayerManager Interface > IDynamicCacheLayerManager.Cacheable Property
ArcGIS Developer Help

IDynamicCacheLayerManager.Cacheable Property

Indicates whether the layer can have a dynamic cache.

[Visual Basic .NET]
Public ReadOnly Property Cacheable As Boolean
public bool Cacheable {get;}
HRESULT get_Cacheable(
  Boolean* Cacheable
Cacheable [out, retval]

Cacheable is a parameter of type bool*

Product Availability

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


Since consolidated group layers use caches, when any layer (including a non cacheable layer) is under a consolidated group layer, a cache for that layer will get generated, as part of the group layer’s cache.

Some type of layers, e.g. Raster layers, do not use a proprietary dynamic display cache, and therefore can not be cached.

See Also

IDynamicCacheLayerManager Interface