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

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

Parameters

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Map Class
Map Members