ArcGIS Pro 3.0 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 Task SetMapURI( 
       string mapURI
    )
    Public Function SetMapURI( _
       ByVal mapURI As String _
    ) As Task

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

    See Also