Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overload design when two different types of object
Message
De
05/09/2006 21:02:56
 
 
À
05/09/2006 20:50:35
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01151161
Message ID:
01151173
Vues:
37
>Well, depending on which overload you use to instantiate your class, either oApp is Nothing or oProcess is Nothing. So, in your GetSchema method, you could check for that and if oApp is Nothing, use New Framework.Data(oProcess) and vice versa.

Exact, but if the declaration is within a condition, the designer does like that very much. :)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform