This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.IsCacheDirty Method (ArcObjects .NET 10.4 SDK) |
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
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.