Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Polymorphism and virtual methods
Message
 
À
29/10/2002 09:05:29
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Divers
Thread ID:
00716411
Message ID:
00716514
Vues:
13
Forgive me for butting in, but the problem is that you need to cast the reference to the subclass type before you can use the methods and properties of the subclass.
	With CType(BizObj,AudienceType)
		.AudienceType = txtAudienceType.Text
	End With
(I am not sure that the cast will work with the WITH keyword, but the point is that you have to cast the reference to the subclass)

>In the PopulateBizObjsFromPage method of my AudienceTypesForm class I get a message saying that AudienceType is not a member of ParentClass.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform