ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ILayerFactory Interface / CreateLayers Method / CreateLayers(BulkLayerCreationParams,ILayerContainerEdit) Method
A BulkLayerCreationParams object.
A map or group layer where the Layers will be added.

In This Topic
    CreateLayers(BulkLayerCreationParams,ILayerContainerEdit) Method
    In This Topic
    Creates a readonly list of new Layer instances using the specified BulkLayerCreationParams and adds it to a container such as a map. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

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

    Return Value

    A Readonly list of Layer.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also