ArcObjects Library Reference (GlobeCore)  

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(
  VARIANT_BOOL* bDangling
);
[C++]

Parameters

bDangling [out, retval]   bDangling is a parameter of type VARIANT_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