GetActiveTopologyAsync Method
Get the properties of the active topology in the map
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;
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.1 or higher.