>> edit collection

  • Thread starter Thread starter Jonathan
  • Start date Start date
J

Jonathan

Hi, just wondering whether I'm doing this the 'right' way... I have a
collection and want to change the value stored in an item. Do I have to
remove the item using the key and then add the new value or can I edit the
existing item referenced by the key.

My impression is that I must remove and then add.

Many thanks,
Jonathan
 
Jonathan said:
Hi, just wondering whether I'm doing this the 'right' way... I have a
collection and want to change the value stored in an item. Do I have to
remove the item using the key and then add the new value or can I edit the
existing item referenced by the key.

My impression is that I must remove and then add.


Your impression is correct ;-)
 
Back
Top