ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMemberIDSet Class / FromKnowledgeGraphLayerIDSet Method

In This Topic
    FromKnowledgeGraphLayerIDSet Method
    In This Topic
    Creates a MapMemberIDSet object from a KnowledgeGraphLayerIDSet.
    Syntax
    public static MapMemberIDSet FromKnowledgeGraphLayerIDSet( 
       Map map,
       KnowledgeGraphLayerIDSet kgLayerIDSet
    )
    Public Shared Function FromKnowledgeGraphLayerIDSet( _
       ByVal map As Map, _
       ByVal kgLayerIDSet As KnowledgeGraphLayerIDSet _
    ) As MapMemberIDSet

    Parameters

    map
    kgLayerIDSet

    Return Value

    Exceptions
    ExceptionDescription
     
    Remarks
    TODO Note: The Map must contain a KnowledgeGraphLayer. The source of the knowledge graph layer must match the source of the KnowledgeGraphLayerIDSet. If there are multiple KnowledgeGraphLayers in the map then the first one retrieved from the map's collection of layers will be used.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also