复合条件查询
IQueryFilter pQf = new QueryFilterClass(); string squery = string.Format("RowID_={0} AND ColumnID={1}", i, j); pQf.WhereClause = squery; IFeatureCursor pFtCursor = fengeFtCls.Search(pQf, false); IFeature pFeature = pFtCursor.NextFeature(); int emtID = (int)pFeature.get_Value(pFeature.Fields.FindField("element_id"));
Shapefile的复合条件查询示例