Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Create a Copy of an Object
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Titre:
How To Create a Copy of an Object
Divers
Thread ID:
00861552
Message ID:
00861552
Vues:
54
Hi to all!

I would like to know how to create a copy of an object.

e.g.
I have an OleDbParameter configured
   Dim CmdPar01 As New OleDb.OleDbParameter("IdCuenta" _
      , Data.OleDb.OleDbType.Integer, 4, "IdCuenta")
and I need to have another parameter just the same, but it cannot be the same instance for some reason
   dim CmdPar02 as new OleDb.OleDbParameter
   CmdPar02 = <copy of CmdPar01>
Is it possible, if it is, how can I achieve it?

Thanks in advance!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform