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

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, Windows 8.1

ArcGIS Pro version: 2.4 or higher.
See Also