ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraphIDSet Class / FromKnowledgeGraph Method / FromKnowledgeGraph(Uri,KnowledgeGraphFilterMethod) Method
A Uri link to a knowledge graph service.
The set of named type objects to include in the filter.

In This Topic
    FromKnowledgeGraph(Uri,KnowledgeGraphFilterMethod) Method
    In This Topic
    Creates a KnowledgeGraphIDSet with a particular filter. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Overloads Shared Function FromKnowledgeGraph( _
       ByVal knowledgeGraphServiceUri As Uri, _
       ByVal filterMethod As KnowledgeGraphFilterMethod _
    ) As KnowledgeGraphIDSet

    Parameters

    knowledgeGraphServiceUri
    A Uri link to a knowledge graph service.
    filterMethod
    The set of named type objects to include in the filter.

    Return Value

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also