ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SelectionSet Class / ToKnowledgeGraphIDSet Method

In This Topic
    ToKnowledgeGraphIDSet Method (SelectionSet)
    In This Topic
    Creates a KnowledgeGraphIDSet from this selection set. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public KnowledgeGraphIDSet ToKnowledgeGraphIDSet()
    Public Function ToKnowledgeGraphIDSet() As KnowledgeGraphIDSet

    Return Value

    A ArcGIS.Core.Data.Knowledge.KnowledgeGraphIDSet. If no items in the selection are relevant to a knowledge graph, then null is returned.
    Exceptions
    ExceptionDescription
    The selection set 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