Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters
Message
From
17/03/2004 00:17:57
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Passing parameters
Miscellaneous
Thread ID:
00886959
Message ID:
00886959
Views:
62
Hello All,

I have created a custom search control that I have placed on several forms. One of the properties of the control is a reference to the primary business object on the form. I have a RegisterBizobj method on my control that accepts a paramter of type ABusinessObject. But what I'm really passing is a subclass of ABusinessObject (a different class on each form). If I cast the parameter as ABusinessObject, I can't access any of the methods that are on my subclasses. Is there any way to get around this strict typing problem?

Thanks
Alan Jefferson
Next
Reply
Map
View

Click here to load this message in the networking platform