Thanks for the answer.
I've created a control that inherits from the treeview.
In the 'Get' properties I want to return the properties of the base
treeview.
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:Oq*************@TK2MSFTNGP11.phx.gbl...
Hi,
Not sure why you would override paramA if you are returning the
value from the base class. Use MyBase.paramA
Ken
--------------
"newbie" <ne****@nospam.com> wrote in message
news:ON**************@TK2MSFTNGP09.phx.gbl... Hello,
suppose I have:
Class A
with property which is overridable 'paramA'
Class B
inherits from class A
Overrides Property paramA() as Integer
Get
Return ???.paramA
End Get
End Property
I know that in C# you can write Return base.paramA
This returns the value of the ancestor.
How is this done in VB?
Thanks