In this case, ClassB is a nested class of ClassA. So what to do depends on
what desired effect you want.
If what you're looking for is a way to access m_classB from ClassC, just
make it Protected instead of Private in ClassA
If you're trying to extend ClassB from ClassC, that's not going to happen.
The best you can hope for is creating another nested class in ClassC that
inherits from ClassB.
-Rob Teixeira [MVP]
"Ryan Shaw" <an*******@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com...
I'm having a small problem with inheritance with a hierarchy of classes.
The example is:
Class Class A
Private m_classB as ClassB
Class ClassB
End Class
End Class
Class ClassC
Inherits ClassA
End Class
How do I add properties to ClassB within ClassC?