nhc190
路人甲
路人甲
  • 注册日期2006-11-14
  • 发帖数20
  • QQ
  • 铜币239枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1431回复:0

求救 FeatureLayer.Search 出错

楼主#
更多 发布于:2007-04-13 12:12
<P>IFeature pFrFeature = zdFeatureCoursor.NextFeature();<BR>    if(pFrFeature == null) break;<BR>    try<BR>    {<BR>     if(pFrFeature.ShapeCopy.IsEmpty) continue;<BR>     <BR>     ESRI.ArcGIS.Geodatabase.ISpatialFilter pSpatialFilter = new SpatialFilterClass();<BR>     pSpatialFilter.Geometry = pFrFeature.ShapeCopy;<BR>     pSpatialFilter.GeometryField ="SHAPE";<BR>     pSpatialFilter.SpatialRel = ESRI.ArcGIS.Geodatabase.esriSpatialRelEnum.esriSpatialRelContains;<BR>    dxFeatureCoursor = dxFeatureLayer.Search(pSpatialFilter,false);</P>
<P>}</P>
<P>每次循环到186时    dxFeatureCoursor = dxFeatureLayer.Search(pSpatialFilter,false);</P>
<P>就报错 其他信息: ESRI.ArcGIS.CartoHRESULT 中的异常:0x80040213。</P>
喜欢0 评分0
游客

返回顶部