Public Shared Function GetActiveTopologyAsync( _ ByVal map As Map _ ) As Task(Of TopologyProperties)
public static Task<TopologyProperties> GetActiveTopologyAsync( Map map )
Parameters
- map
- The map to retrieve the topology properties for.
Public Shared Function GetActiveTopologyAsync( _ ByVal map As Map _ ) As Task(Of TopologyProperties)
public static Task<TopologyProperties> GetActiveTopologyAsync( Map map )
| Exception | Description |
|---|---|
| System.ArgumentNullException | Map is null. |
// Retrieves the properties of the active topology associated with the specified map asynchronously. var activeTopologyProperties = await activeMap.GetActiveTopologyAsync(); var isMapTopology = activeTopologyProperties is MapTopologyProperties; var isGdbTopology = activeTopologyProperties is GeodatabaseTopologyProperties; var isNoTopology = activeTopologyProperties is NoTopologyProperties;
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)