ArcGIS Pro 2.9 API Reference Guide
CreateLayer(Uri,ILayerContainerEdit,LayerPosition,String) Method

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

Parameters

dataUri
mapOrGroupLayer
position
layerName
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ILayerFactory Interface
ILayerFactory Members
Overload List