ArcGIS Pro 2.7 API Reference Guide
CreateLayer<T>(LayerCreationParams,ILayerContainerEdit,LayerPosition) Method

ArcGIS.Desktop.Mapping Namespace > ILayerFactory Interface > CreateLayer Method : CreateLayer<T>(LayerCreationParams,ILayerContainerEdit,LayerPosition) Method
Syntax
Overloads Function CreateLayer(Of T As Layer)( _
   ByVal layerDef As LayerCreationParams, _
   ByVal mapOrGroupLayer As ILayerContainerEdit, _
   Optional ByVal position As LayerPosition _
) As T

Parameters

layerDef
mapOrGroupLayer
position

Type Parameters

T
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ILayerFactory Interface
ILayerFactory Members
Overload List