This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeLayerProperties2 Interface > IGlobeLayerProperties2.CacheIsDangling Property (ArcObjects .NET 10.5 SDK) |
Reports if the cache will be lost if the document is not saved.
[Visual Basic .NET] Public ReadOnly Property CacheIsDangling As Boolean
[C#] public bool CacheIsDangling {get;}
[C++]
HRESULT get_CacheIsDangling(
VARIANT_BOOL* bDangling
);
[C++]
Parameters bDangling [out, retval] bDangling is a parameter of type VARIANT_BOOL
When exiting an ArcGlobe document, on-demand caches for layers that have not been saved to a layer file or ArcGlobe document are automatically deleted.
Partial or full caches are not automatically deleted when exiting an ArcGlobe document, regardless of whether the layer was saved to a layer file or ArcGlobe document or not. However, you should still save a layer file or ArcGlobe document for these layers so you can preserve a link to the cache.
This property will return True unless a layer file or the ArcGlobe document is saved.