ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IMappableItem Interface / CanAddToMap Method
The maptype.

CanAddToMap Method
Gets whether the item can be added to a map of the specified mapType.
Syntax
bool CanAddToMap( 
   Nullable<MapType> mapType
)

Parameters

mapType
The maptype.

Return Value

True if the item can be added to a map of the type. False otherwise.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.4 or higher.
See Also