ArcGIS Pro 2.6 API Reference Guide
CreateLayer(CIMDataConnection,ILayerContainerEdit,LayerPosition,String) Method

ArcGIS.Desktop.Mapping Namespace > ILayerFactory Interface > CreateLayer Method : CreateLayer(CIMDataConnection,ILayerContainerEdit,LayerPosition,String) Method
Syntax

Parameters

dataConnection
mapOrGroupLayer
position
layerName
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ILayerFactory Interface
ILayerFactory Members
Overload List