The ArcObjects SDK 10.0 developer sample called ViperPin Tool uses a recycling cursor which results in an exception at IFeature.Store().
上次发布: September 15, 2016ArcGIS for Desktop
漏洞 ID 编号
NIM077519
已提交
January 26, 2012
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.0
编程语言
C#
操作系统
Windows OS
操作系统版本
XP
修正版本
10.4Fi
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
See <a href="http://forums.arcgis.com/threads/45879-cannot-call-store-on-a-recycled-row-while-editing" target="_blank">http://forums.arcgis.com/threads/45879-cannot-call-store-on-a-recycled-row-while-editing</a>- Change the following line in the SetPINValue function (routine) in ViperPinForm.csfrom:featCursor = featLayer.Search(spatialFilter, true);tofeatCursor = featLayer.Search(spatialFilter, false); //change to a non-recycling cursor.- Recompile the code/DLL and re-register the component/DLL.