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


IScreenDisplay.IsCacheDirty Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.IsCacheDirty Method
ArcGIS Developer Help

IScreenDisplay.IsCacheDirty Method

Indicates if the specified cache needs refreshing.

[Visual Basic .NET]
Public Function IsCacheDirty ( _
    ByVal cacheIndex As Short _
) As Boolean
[C#]
public bool IsCacheDirty (
    short cacheIndex
);
[C++]
HRESULT IsCacheDirty(
  short cacheIndex
);
[C++]
Parameters
cacheIndex [in]

cacheIndex is a parameter of type short

Product Availability

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

Remarks

When drawing, use this property to check if a particular cache is dirty.  If a cache is not dirty (FALSE), redraw the cache; if the cache is dirty (TRUE), redraw from scratch.

See Also

IScreenDisplay Interface