ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / RedrawAsync Method
Set to true to truncate/reset any current feature caches on layers in the view
Version

RedrawAsync Method
Force a redraw of the map view
Syntax
public Task RedrawAsync( 
   bool clearCache
)

Parameters

clearCache
Set to true to truncate/reset any current feature caches on layers in the view

Return Value

Remarks
Set the clearCache = true to truncate the current feature cache(s). On the redraw, if clearCache is true, the feature cache(s) will be reset.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also