ArcGIS Pro二次开发有ID返回Feature
public void SearchFC(FeatureClass featureClass, IReadOnlyList<long> objectIDs) { QueryFilter queryFilter = new QueryFilter() { ObjectIDs = objectIDs }; using (RowCursor rowCursor = featureClass.Search(queryFilter)) { while (rowCursor.MoveNext()) { using (Feature feature = rowCursor.Current as Feature) { // use feature } } } }