

public sealed class KnowledgeGraphLayerIDSet
Public NotInheritable Class KnowledgeGraphLayerIDSet
QueuedTask.Run(() =>
{
// get the selection set
var sSet = map.GetSelection();
// translate to an KnowledgeGraphLayerIDSet
// if the selectionset does not contain any KG entity or relationship records
// then idSet will be null
var idSet = KnowledgeGraphLayerIDSet.FromSelectionSet(sSet);
if (idSet == null)
return;
// you can use the idSet to create a new linkChart
// (using MapFactory.Instance.CreateLinkChart)
});
System.Object
ArcGIS.Desktop.Mapping.KnowledgeGraphLayerIDSet
Target Platforms: Windows 11, Windows 10