This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDynamicCacheLayerManager Interface > IDynamicCacheLayerManager.Cacheable Property (ArcObjects .NET 10.4 SDK) |
Indicates whether the layer can have a dynamic cache.
[Visual Basic .NET] Public ReadOnly Property Cacheable As Boolean
[C#] public bool Cacheable {get;}
[C++]
HRESULT get_Cacheable(
VARIANT_BOOL* Cacheable
);
[C++]
Parameters Cacheable [out, retval] Cacheable is a parameter of type VARIANT_BOOL
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.