ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMLegend Class / FromJson Method
The JSON string containing the CIMLegend state.
The JSON deserialization settings.

In This Topic
    FromJson Method (CIMLegend)
    In This Topic
    Reconstructs the CIMLegend with a specified state from a JSON encoding.
    Syntax
    public new static CIMLegend FromJson( 
       string json,
       JsonDeserializationSettings settings
    )
    Public Shared Shadows Function FromJson( _
       ByVal json As String, _
       Optional ByVal settings As JsonDeserializationSettings _
    ) As CIMLegend

    Parameters

    json
    The JSON string containing the CIMLegend state.
    settings
    The JSON deserialization settings.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also