Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re-Assign A Value To An Item In A Collection
Message
 
 
À
20/09/2004 07:26:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00943953
Message ID:
00943961
Vues:
21
This message has been marked as the solution to the initial question of the thread.
Hi Angie,

Yes, you're correct. You've to delete old item and add new one. An alternative would be to store your values as a property of an object which in turn is stored in the collection item.

>
>If I want to change the value of an existing item in a collection, is it possible? As far as I can tell, it seems that you would have to delete the item you want to change and then add it back using the same key with the "new" value.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform