Map layer error v2.4

Last post 6/22/2009 9:13:01 AM by Arul. 0 replies. << Back to Web.Maps.VE v2.0 General
6/22/2009 9:13:01 AM
Arul

Map layer error v2.4

Hi,

   I think still there is a fix need for v2.4 regarding layer. I am getting the error 'Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index'  while implementing the  following code.

Map1.Layers[0].Shapes.Clear()

Thanks