ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMemberIDSet Class / ToKnowledgeGraphIDSet Method

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

    Return Value

    A ArcGIS.Core.Data.Knowledge.KnowledgeGraphIDSet. If the MapMemberIDSet is empty, then null is returned.
    Exceptions
    ExceptionDescription
    The map member ID set is null
    This method or property must be called within the lambda passed to QueuedTask.Run.
    No Knowledge Graph data could be identified in this set.
    No Map could be identified in this set.
    Requirements

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

    ArcGIS Pro version: 3.7 or higher.
    See Also