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


ILayer.Cached Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer Interface > ILayer.Cached Property
ArcGIS Developer Help

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(
  Boolean* Cached
);
[C++]
HRESULT put_Cached(
  VARIANT_BOOL Cached
);
[C++]
Parameters
Cached [out, retval]

Cached is a parameter of type bool* Cached [in]
Cached is a parameter of type 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