Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Polymorphism and virtual methods
Message
 
To
29/10/2002 09:05:29
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00716411
Message ID:
00716514
Views:
10
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform