摘要:
1、IFeatureCursor 游标查询后,遍历删除2、更新游标删除IFeatureCursor.DeleteFeature()3、ITable.DeleteSearchedRows删除4、 IDataset.Workspace.ExecuteSQL一、几种删除方法代码1.查询结果中删除private void Delete1(IFeatureClass PFeatureclass) { IQueryFilter pQueryFilter = new QueryFilterClass(); pQueryFilter.WhereClause = "objectID<=" 阅读全文
摘要:
1、查找数据1)、利用FeaturCursor进行空间查询//空间查询ISpatialFilter spatialFilter =newSpatialFilterClass();spatialFilter.Geometry = envelope;//指定几何体String shpFld = featureClass.ShapeFieldName;spatialFilter.GeometryField = shpFld;spatialFilter.SpatialRel = esriSpatialRelEnum.esriSpatialRelIntersects;//相交IQueryFilter q 阅读全文