ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LayerDocument Class / LayerDocument Constructor
Version

LayerDocument Constructor
Overload List
OverloadDescription
Creates a LayerDocument instance using a ArcGIS.Core.CIM.CIMLayerDocument.  
Creates LayerDocument instance from a Layer File (.lyrx). This constructor must be called on the MCT. Use QueuedTask.Run.  
Creates LayerDocument instance from a MapMember object This constructor must be called on the MCT. Use QueuedTask.Run.  
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also