ArcGIS Pro 2.7 API Reference Guide
CreateLayer(Uri,ILayerContainerEdit,Int32,String) Method

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

Parameters

dataUri
mapOrGroupLayer
index
layerName
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ILayerFactory Interface
ILayerFactory Members
Overload List