ArcObjects Library Reference (Display)  

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

Parameters

cacheIndex [in]   cacheIndex is a parameter of type short flag [out, retval]   flag is a parameter of type VARIANT_BOOL

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