Public Shared Function SetMapTopologyAsync( _ ByVal map As Map _ ) As Task(Of TopologyProperties)
public static Task<TopologyProperties> SetMapTopologyAsync( Map map )
Parameters
- map
- The map to set the topology.
Public Shared Function SetMapTopologyAsync( _ ByVal map As Map _ ) As Task(Of TopologyProperties)
public static Task<TopologyProperties> SetMapTopologyAsync( Map map )
| Exception | Description |
|---|---|
| System.ArgumentException |
// Sets the topology of the specified map as the current map topology asynchronously. if (activeMap.CanSetMapTopology()) { //Set the topology of the map as map topology var mapTopoProperties = await activeMap.SetMapTopologyAsync() as MapTopologyProperties; }
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)