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

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

ArcGIS Pro version: 3 or higher.
See Also