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

SetMapURI Method
Sets the Map URI of the MapView whose TOC is to be shown when this pane is activated
Syntax
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, Windows 10

ArcGIS Pro version: 3 or higher.
See Also