ArcGIS Pro 3.0 API Reference Guide
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.

In This Topic
    CanAdd(Item,Nullable<MapType>,Nullable<MapViewingMode>) Method
    In This Topic
    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