ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / ClearTopologyAsync Method
The map to clear the topology.
Example Version

ClearTopologyAsync Method
Clears the active topology. That is; sets the active topology to "No Topology".
Syntax
public static Task<TopologyProperties> ClearTopologyAsync( 
   Map map
)

Parameters

map
The map to clear the topology.
Example
Set 'No Tpology' as the current topology
if (map.CanClearTopology())
{
  //Clears the topology of the map - no topology
  await map.ClearTopologyAsync();
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also