ArcGIS Pro 2.7 API Reference Guide
LayerDocument Constructor(Layer)

ArcGIS.Desktop.Mapping Namespace > LayerDocument Class > LayerDocument Constructor : LayerDocument Constructor(Layer)
Creates LayerDocument instance from a Layer object This constructor must be called on the MCT. Use QueuedTask.Run.
Syntax
public LayerDocument( 
   Layer layer
)
Public Function New( _
   ByVal layer As Layer _
)

Parameters

layer
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayerDocument Class
LayerDocument Members
Overload List