ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core Namespace / DisplayOptions Class / ClearDisplayCacheAsync Method

In This Topic
    ClearDisplayCacheAsync Method
    In This Topic
    Clears the display cache from the local storage. This method will close and reopen any project currently opened in order to clear the local storage. The project should not have any unsaved change when the method is called. If it does, the call will be a no-op.
    Syntax
    public Task ClearDisplayCacheAsync()
    Public Function ClearDisplayCacheAsync() As Task

    Return Value

    Task
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also