Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overload design when two different types of object
Message
From
05/09/2006 21:02:56
 
 
To
05/09/2006 20:50:35
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01151161
Message ID:
01151173
Views:
35
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform