ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TOCActiveMapViewProviderPane Class / SetMapURI Method
The Map URI

In This Topic
    SetMapURI Method
    In This Topic
    Sets the Map URI of the MapView whose TOC is to be shown when this pane is activated
    Syntax
    Public Function SetMapURI( _
       ByVal mapURI As String _
    ) As Task
    public Task SetMapURI( 
       string mapURI
    )

    Parameters

    mapURI
    The Map URI

    Return Value

    Task
    Remarks
    SetMapURI ensures the associated map is loaded and its MapView is initialized
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also