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

In This Topic
    FromKnowledgeGraph(KnowledgeGraph,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 knowledgeGraph As KnowledgeGraph, _
       ByVal filterMethod As KnowledgeGraphFilterMethod _
    ) As KnowledgeGraphIDSet

    Parameters

    knowledgeGraph
    A knowledge graph datastore.
    filterMethod
    The set of named type objects to include in the filter.

    Return Value

    Exceptions
    ExceptionDescription
    The knowledgeGraph 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