摘要: 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<=" 阅读全文
posted @ 2011-11-02 10:23 f_l_y 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1、查找数据1)、利用FeaturCursor进行空间查询//空间查询ISpatialFilter spatialFilter =newSpatialFilterClass();spatialFilter.Geometry = envelope;//指定几何体String shpFld = featureClass.ShapeFieldName;spatialFilter.GeometryField = shpFld;spatialFilter.SpatialRel = esriSpatialRelEnum.esriSpatialRelIntersects;//相交IQueryFilter q 阅读全文
posted @ 2011-11-02 10:18 f_l_y 阅读(2558) 评论(0) 推荐(1) 编辑