ArcGIS Pro 2.8 API Reference Guide
Map Property (MapView)
Example 

ArcGIS.Desktop.Mapping Namespace > MapView Class : Map Property
Gets the map or scene associated with the view.
Syntax
public Map Map {get;}
Public ReadOnly Property Map As Map
Example
Get the active map's name
public string GetActiveMapName()
{
  //Get the active map view.
  var mapView = MapView.Active;
  if (mapView == null)
    return null;

  //Return the name of the map currently displayed in the active map view.
  return mapView.Map.Name;
}
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members