ArcGIS Pro二次开发-条件查询

//searching and returning number of features where value in 'Class' field in 'city'
QueryFilter qf = new QueryFilter()
  {
    WhereClause = "Class = 'city'"
  };

RowCursor rows = aFeatureLayer.Search(qf);

int i = 0;
while (rows.MoveNext()) i++;
原文地址:https://www.cnblogs.com/gisoracle/p/12489697.html