This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDynamicCacheLayerManager Interface > IDynamicCacheLayerManager.Invalidate Method (ArcObjects .NET 10.5 SDK) |
Invalidate a certain area of the cache, according to the given extent. If the input extent is null, invalidates the entire cache. Duoble-buffer does not show changes until new tiles are available.
[Visual Basic .NET] Public Sub Invalidate ( _ ByVal Extent As IEnvelope, _ ByVal doubleBuffer As Boolean _ )
[C#] public void Invalidate ( IEnvelope Extent, bool doubleBuffer );
[C++]
HRESULT Invalidate(
IEnvelope* Extent,
VARIANT_BOOL doubleBuffer
);
[C++]
Parameters Extent [in]
Extent is a parameter of type IEnvelope doubleBuffer [in] doubleBuffer is a parameter of type VARIANT_BOOL
Passing a null extent will result in update of the cache for the entire layer (determined by the layer area of interest).
When double-buffer is false, the invalidated tiles will disappear from the display immediately.
When double-buffer is true, the invalidated tiles will keep being rendered, until the new tiles are ready, or until a defined max time (time out), which ever comes first.