ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ILayerFactory Interface / CreateLayer Method

In This Topic
    CreateLayer Method (ILayerFactory)
    In This Topic
    Overload List
    OverloadDescription
     
    Creates a new 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 to override the default display name. This method must be called on the MCT. Use QueuedTask.Run.  
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also