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

CanClearTopology Method
Gets if the active topology can be cleared. That is; the active topology cam be set to "No Topology".
Syntax
public static bool CanClearTopology( 
   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