var tv = TableView.Active; if (tv == null) return; QueuedTask.Run(async () => { IReadOnlyList<long> highlightedOIDs = null; if (tv.CanGetHighlightedObjectIds) // get the set of selected objectIDs highlightedOIDs = tv.GetHighlightedObjectIds(); });
Target Platforms: Windows 11, Windows 10