ArcGIS Pro 3.0 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, Windows 8.1

    See Also