ArcGIS Pro 2.6 API Reference Guide
Load Method (LayerDocument)

ArcGIS.Desktop.Mapping Namespace > LayerDocument Class : Load Method
A json encoded string.
Populates a LayerDocument from a json string that represents ArcGIS.Core.CIM.CIMLayerDocument. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Load( 
   string json
)
Public Sub Load( _
   ByVal json As String _
) 

Parameters

json
A json encoded string.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

LayerDocument Class
LayerDocument Members