ArcGIS Pro 2.7 API Reference Guide
CopyLayer Method (ILayerFactory)

ArcGIS.Desktop.Mapping Namespace > ILayerFactory Interface : CopyLayer Method
Syntax
Function CopyLayer( _
   ByVal layer As Layer, _
   ByVal mapOrGroupLayer As ILayerContainerEdit, _
   Optional ByVal index As Integer _
) As Layer

Parameters

layer
mapOrGroupLayer
index
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ILayerFactory Interface
ILayerFactory Members