ArcGIS Pro 2.7 API Reference Guide
CreateLayer(Item,ILayerContainerEdit,LayerPosition,String) Method

ArcGIS.Desktop.Mapping Namespace > ILayerFactory Interface > CreateLayer Method : CreateLayer(Item,ILayerContainerEdit,LayerPosition,String) Method
Syntax
Overloads Function CreateLayer( _
   ByVal item As Item, _
   ByVal mapOrGroupLayer As ILayerContainerEdit, _
   Optional ByVal position As LayerPosition, _
   Optional ByVal layerName As String _
) As Layer

Parameters

item
mapOrGroupLayer
position
layerName
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ILayerFactory Interface
ILayerFactory Members
Overload List