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