ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LayerFactory Class / CanCreateLayers Method
A BulkLayerCreationParams object.
A map or group layer where the Layers will be added.

In This Topic
    CanCreateLayers Method (LayerFactory)
    In This Topic
    Indicates whether Layers can be created using the specified BulkLayerCreationParams and added to the container.
    Syntax

    Parameters

    layerParams
    A BulkLayerCreationParams object.
    container
    A map or group layer where the Layers will be added.

    Return Value

    A boolean indicates that Layers can be created.
    Remarks
    You should use this method before passing an item to CreateLayers(BulkLayerCreationParams,ILayerContainerEdit)
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also