Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject vs AddObject
Message
 
À
26/04/1999 13:09:33
Bhrugvish Vin
Northrop Grumman Information Technology
Atlanta, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00212204
Message ID:
00212223
Vues:
20
>I am new. Please be patient.
>
>Briefly, what is the difference between CreateObject and AddObject.
>
>Thanks,
>
>Vin


CreateObject() creates a stand alone object that may or may not be a container for other objects. AddObject() adds an object to a container object. Objects created with CreateObject() are independent objects while objects created with AddObject() are fully owned by the container and therefore will also die with the container.

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform