The LayerCollection.Move() method errors out "SystemArgumentOutOfRangeException" while reordering the layers.
上次发布: January 23, 2018ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000106470
已提交
July 11, 2017
上次修改时间
August 20, 2025
适用范围
ArcGIS Runtime SDK
找到的版本
10.2.7
操作系统
Windows OS
操作系统版本
10.0
修正版本
100.2
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
SpatialMap.Layers.Move(existingIndex, newIndex); // comment the above line and uncomment the below two lines do throw exceptions but the program doesn't crash // SpatialMap.Layers.RemoveAt(existingIndex); // SpatialMap.Layers.Insert(newIndex, layer);