ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraphIDSet Class / FromDictionary Method / FromDictionary(Uri,Dictionary<String,List<Int64>>) Method
A Uri link to a knowledge graph service or file-based knowledge graph.
The collection of named types and their corresponding objectIDs.

In This Topic
    FromDictionary(Uri,Dictionary<String,List<Int64>>) Method
    In This Topic
    Creates a KnowledgeGraphIDSet object from a dictionary of records. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    knowledgeGraphPathOrServiceUri
    A Uri link to a knowledge graph service or file-based knowledge graph.
    dict
    The collection of named types and their corresponding objectIDs.

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    knowledgeGraphPathOrServiceUri or dict is null.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also