public Layer CreateLayer( CIMDataConnection dataConnection, ILayerContainerEdit mapOrGroupLayer, int index, string layerName )
Public Overloads Function CreateLayer( _ ByVal dataConnection As CIMDataConnection, _ ByVal mapOrGroupLayer As ILayerContainerEdit, _ ByVal index As Integer, _ Optional ByVal layerName As String _ ) As Layer
Parameters
- dataConnection
- A CIMDataConnection
- mapOrGroupLayer
- A map or group layer instance to which the Layer will be added
- index
- The position of the layer in the map or group layer. 0 represents the top most position.
- layerName
- (optional) When it is not provided, the default display name gets used e.g. the dataset name or alias. (default value = "")