ArcObjects Library Reference  (Display)    

IScreenDisplay.IsCacheDirty Method

Indicates if the specified cache needs refreshing.

[Visual Basic 6.0]
Function IsCacheDirty(
    ByVal cacheIndex As Integer _
) As Boolean
[Visual Basic .NET]
Public Function IsCacheDirty ( _
    ByVal cacheIndex As Short _
) As Boolean
[C#]
public bool IsCacheDirty (
    short cacheIndex
);
[Java]
public Boolean isCacheDirty (
    short cacheIndex
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page