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

CanCreateLayers Method (ILayerFactory)
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 indicating that Layers can be created.
Remarks
You should use this method before passing an item to LayerFactory.CreateLayers
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.4 or higher.
See Also