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


ILayer.Cached Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILayer.Cached Property

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

Product Availability

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

Remarks

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.

See Also

ILayer Interface