Public MustInherit Class TopologyProperties
public abstract class TopologyProperties
Public MustInherit Class TopologyProperties
public abstract class TopologyProperties
// Retrieves and processes the list of available topologies in the active map. await QueuedTask.Run(async () => { var map = MapView.Active.Map; //Get a list of all the available topologies for the map var availableTopologies = await map.GetAvailableTopologiesAsync(); var gdbTopologies = availableTopologies.OfType<GeodatabaseTopologyProperties>(); var mapTopologies = availableTopologies.OfType<MapTopologyProperties>(); });
// 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;
System.Object
ArcGIS.Desktop.Editing.TopologyProperties
ArcGIS.Desktop.Editing.GeodatabaseTopologyProperties
ArcGIS.Desktop.Editing.MapTopologyProperties
ArcGIS.Desktop.Editing.NoTopologyProperties
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)