ArcGIS Pro 2.8 API Reference Guide
RedrawAsync Method

ArcGIS.Desktop.Mapping Namespace > MapView Class : RedrawAsync Method
Set to true to truncate/reset any current feature caches on layers in the view
Force a redraw of the map view
Syntax
public Task RedrawAsync( 
   bool clearCache
)
Public Function RedrawAsync( _
   ByVal clearCache As Boolean _
) As Task

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 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members