Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters
Message
De
17/03/2004 00:17:57
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Passing parameters
Divers
Thread ID:
00886959
Message ID:
00886959
Vues:
64
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform