Public Function GetSelectedObjectIds() As IReadOnlyList(Of Long)
public IReadOnlyList<long> GetSelectedObjectIds()
Return Value
A read-only list of object ids.
Public Function GetSelectedObjectIds() As IReadOnlyList(Of Long)
public IReadOnlyList<long> GetSelectedObjectIds()
| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
{
// Note: Needs QueuedTask to run
{
// get the set of selected objectIDs
var selOids = tableView.GetSelectedObjectIds();
// get the set of selected row indexes
var selRows = tableView.GetSelectedRowIndexes();
}
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)