ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / OpenViewAsync Method

In This Topic
    OpenViewAsync Method
    In This Topic
    Open a new view for this map.
    Syntax
    public Task OpenViewAsync()
    Public Function OpenViewAsync() As Task

    Return Value

    Remarks
    OpenViewAsync can be called from any thread. Internally, it does not use the QueuedTask. Ideally, this method is not awaited. However, if awaited, the returned task completes at the momment of the initial draw on the newly opened view.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also