ArcObjects Library Reference (Carto)  

ILayer2.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

ILayer2 Interface