ArcGIS Pro 2.9 API Reference Guide
CanAdd(Item,Nullable<MapType>,Nullable<MapViewingMode>) Method

ArcGIS.Desktop.Mapping Namespace > Map Class : CanAdd(Item,Nullable<MapType>,Nullable<MapViewingMode>) Method
The item to be considered for adding.
The type of map.
The type of map viewing mode.
Indicates whether or not an item can be added to the map.
Syntax
Public Shared Function CanAdd( _
   ByVal item As Item, _
   ByVal mapType As Nullable(Of MapType), _
   Optional ByVal mapViewingMode As Nullable(Of MapViewingMode) _
) As Boolean

Parameters

item
The item to be considered for adding.
mapType
The type of map.
mapViewingMode
The type of map viewing mode.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Map Class
Map Members