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


IGlobeLayerProperties2.CacheIsDangling Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeLayerProperties2 Interface > IGlobeLayerProperties2.CacheIsDangling Property
ArcGIS Developer Help

IGlobeLayerProperties2.CacheIsDangling Property

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

bDangling is a parameter of type bool*

Product Availability

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

Description

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.

See Also

IGlobeLayerProperties2 Interface