ArcGIS Pro 2.7 API Reference Guide
SetMapURI Method

ArcGIS.Desktop.Mapping Namespace > TOCActiveMapViewProviderPane Class : SetMapURI Method
The Map URI
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 10, Windows 8.1

See Also

Reference

TOCActiveMapViewProviderPane Class
TOCActiveMapViewProviderPane Members