AnsweredAssumed Answered

How to implement TableSort to ArcGISPro SDK?

Question asked by jameskennedy2265 on Aug 29, 2019
Latest reply on Aug 30, 2019 by jameskennedy2265

I have a question on how to implement a TableSort in ArcGISPro SDK

In ArcObjects, the ArcMap SDK, you can do something like this 

 

TableSort tableSort = new ESRI.ArcGIS.Geodatabase.TableSortClass();
tableSort.Fields = refMileField;
tableSort.set_Ascending(refMileField, true);
tableSort.QueryFilter = profileScenarioFilter2;
tableSort.Table = profileScenarioTable.Table;
tableSort.Sort(null);

 

Later on I use this TableSort in order to give a RowCursor its rows it needs.

 

What is the proper way I can convert TableSort to a RowCursor?

 

Or is there another way I need to convert the TableSort to another type?

 

Thank You

Outcomes