ArcGIS Pro 2.6 API Reference Guide
CreateLayer(Item,ILayerContainerEdit,Int32,String) Method

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

Parameters

item
mapOrGroupLayer
index
layerName
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ILayerFactory Interface
ILayerFactory Members
Overload List