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

In This Topic
    CanAddToMap Method
    In This Topic
    Gets whether the item can be added to a map of the specified mapType.
    Syntax
    bool CanAddToMap( 
       Nullable<MapType> mapType
    )
    Function CanAddToMap( _
       ByVal mapType As Nullable(Of MapType) _
    ) As Boolean

    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