ArcGIS Pro 2.6 API Reference Guide
LayerDocument Constructor

ArcGIS.Desktop.Mapping Namespace > LayerDocument Class : 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 Layer object This constructor must be called on the MCT. Use QueuedTask.Run.  
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

LayerDocument Class
LayerDocument Members