ArcGIS Pro 2.6 API Reference Guide
CreateFeatureLayer Method (LayerFactory)

ArcGIS.Desktop.Mapping Namespace > LayerFactory Class : CreateFeatureLayer Method
Overload List
OverloadDescription
Overloaded. Create a new Feature Layer instance using an ArcGIS.Core.Data.FeatureClas and adds that to a container such as a map or group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run  
Overloaded. Create a new Feature Layer instance using an ArcGIS.Core.Data.FeatureClas and adds that to a container such as a map or group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run  
Overloaded. Creates a new Feature Layer instance using the specified Item and adds that to a container such as a map or group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run.  
Overloaded. Creates a new Feature Layer instance using the specified Item and adds that to a container such as a map or group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run  
Creates a new Feature Layer instance with the specified path to a dataset and adds it to a container such as a map or a group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run.  
Creates a new Feature Layer instance with the specified path to a dataset and adds it to a container such as a map or a group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run.  
Overloaded. Create a new Feature Layer instance using a CIMDataConnection and adds that to a container such as a map or group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run  
Overloaded. Create a new Feature Layer instance using a CIMDataConnection and adds that to a container such as a map or group layer. Optionally you can provide a name and rendererDefinition to override the default display name and renderer respectively. This method must be called on the MCT. Use QueuedTask.Run  
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

LayerFactory Class
LayerFactory Members