public KnowledgeGraphLayerIDSet GetSelectedRecords()
Public Function GetSelectedRecords() As KnowledgeGraphLayerIDSet
Return Value
A ArcGIS.Desktop.Mapping.KnowledgeGraphLayerIDSet representing the selected records.
public KnowledgeGraphLayerIDSet GetSelectedRecords()
Public Function GetSelectedRecords() As KnowledgeGraphLayerIDSet
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
// get the active investigation view var iv = KnowledgeGraphInvestigationView.Active; QueuedTask.Run(() => { // get the investigation var inv = iv.Investigation; // get the set of selected records var idSet = iv.GetSelectedRecords(); // view these records in a link chart var map = MapFactory.Instance.CreateLinkChart("myLinkChart", new Uri(inv.ServiceUri), idSet); ProApp.Panes.CreateMapPaneAsync(map); });
Target Platforms: Windows 11, Windows 10