public sealed class GeodatabaseTopologyProperties : TopologyProperties
Public NotInheritable Class GeodatabaseTopologyProperties Inherits TopologyProperties
public sealed class GeodatabaseTopologyProperties : TopologyProperties
Public NotInheritable Class GeodatabaseTopologyProperties Inherits TopologyProperties
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>(); });
var map = MapView.Active.Map; var activeTopologyProperties = await map.GetActiveTopologyAsync(); var isMapTopology = activeTopologyProperties is MapTopologyProperties; var isGdbTopology = activeTopologyProperties is GeodatabaseTopologyProperties; var isNoTopology = activeTopologyProperties is NoTopologyProperties;
var topoProperties = await map.GetTopologyAsync("TopologyName") as GeodatabaseTopologyProperties; var workspace = topoProperties.WorkspaceName; var topoLayer = topoProperties.TopologyLayer; var clusterTolerance = topoProperties.ClusterTolerance;
System.Object
ArcGIS.Desktop.Editing.TopologyProperties
ArcGIS.Desktop.Editing.GeodatabaseTopologyProperties
Target Platforms: Windows 11, Windows 10