Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How do I copy an object?
I've got a container with an number of Custom objects in it. As I process each object in the container, I may need to create another object in the container which is a copy of one of the existing objects and then change a couple of properties of the new object. When I assign the existing object to the new object, both are referencing the same single object - not separate objects.
How do I create a new object in a container that is a copy of an existing object?
TIA
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement