Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cloning Objects
Message
De
15/01/2004 11:22:28
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Cloning Objects
Divers
Thread ID:
00867149
Message ID:
00867149
Vues:
61
Hi

I have a derived class and I want the parent class to be ICloneable, the only problem is, how do I clone a derived class if I don't know what the type might be? With VFP (as an example) I could do:
RETURN CREATEOBJECT(this.Class)
Any ideas?
Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform