码迷,mamicode.com
首页 > 其他好文 > 详细

IFeatureClass.Search中的 Recycling 参数 - 浅谈.

时间:2014-11-05 21:06:06      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   ar   sp   strong   div   on   log   

语法:

1 public IFeatureCursor Search (
2     IQueryFilter filter,
3     bool Recycling);

  当 Recycling 为true时,调用NextFeature()方法返回的是当前的对象,也就是说调用NextFeature() 方法并非指向下一个feature.而当Recycling为false时,调用NextFeature()方法会返回下一个feature.

  当我们在拷贝feature对象时,需要将Recycling参数设置为false,防止无法拷贝完feature对象,而仅仅拷贝同一个feature对象.

IFeatureClass.Search中的 Recycling 参数 - 浅谈.

标签:style   blog   color   ar   sp   strong   div   on   log   

原文地址:http://www.cnblogs.com/listened/p/4077188.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!