This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer Interface > ILayer.Cached Property (ArcObjects .NET 10.5 SDK) |
Indicates if the layer needs its own display cache.
[Visual Basic .NET] Public Property Cached As Boolean
[C#] public bool Cached {get; set;}
[C++]
HRESULT get_Cached(
VARIANT_BOOL* Cached
);
[C++]
HRESULT put_Cached(
VARIANT_BOOL Cached
);
[C++]
Parameters Cached [out, retval] Cached is a parameter of type VARIANT_BOOL Cached [in] Cached is a parameter of type VARIANT_BOOL
This property indicates whether or not the layer requires its own display cache. If this property is True, then the Map will use a separate display cache for the layer so that it can be refreshed indpendently of other layers.
The Map is responsible for cache management. See IScreenDisplay::AddCache for more information on caches.