ArcGIS Pro 3.2 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

In This Topic
    RedrawAsync Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also