ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IMappableItem Interface / OnAddToMap Method

OnAddToMap Method
Overload List
OverloadDescription
Add the item to the map.  
Add the item to the map or groupLayer at the specified index.  
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.4 or higher.
See Also