how to find base class properties and functions through object of derived class while writing code in design time in vb.net?

public class first
public sub one()
end sub
end class

public class second
inherits first
public sub two()
end sub
end class

public class third
inherits second
public sub three()
end sub
end class



how to find base class properties and functions  through object of derived class while writing code in design time in vb.net?
               
for example
dim t as new third

t.                it  list all functions and properties of all of third , second , first  classes
ok. like that I want
even I know following is wrong, this is to understand to you my expectatin.
t.this.              t must show  all functions and properties only into the class "third"
t.base.            it must show  all functions and properties only into the class "second"
t.base.base.   it must show all functions and properties only into the class "first"

how to bring it ?




tamilsoftAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CodeCruiserCommented:
>this is to understand to you my expectatin.

Looking at your questions, you seem to have quite high expectations from the tools :-)
0
Jacques Bourgeois (James Burger)PresidentCommented:
You cannot do it in the code as you are requesting, but there is a tool that can show you the class system. You need to be in the Professional edition of Visual Studio to use it.

Add a class diagram to your project, through Project->Add New Item.

From the Solution Explorer, drag the file defining one of the classes unto the Class Diagram. Use the little arrow icons in the upper side of each class to expand it. It enables you to see where each method implementation is defined.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tamilsoftAuthor Commented:
Thank you expert mister "jamesburger" .
I have visual studio2005 professional edition.
You have told a good idea. ok.
I feel this is  little long in developing  object oriented versality.

wel let, eclipse editor for java.  while we Type ObjectName and "." ,  then displays all classes and inherited base class name and its member, inherited base of base class name and its member names. we can understand class and member difference between  inherited base , base of base , which member which class belonged to and ancestry of inheritance untill last base.
this is better reason and knowledge for  deep maturity , thinking  and growing , creative of object oriented skill, appllying my own application development  idea using through object oriented concept.

lke that, I want a super way in visual studio2005 or higher version to become a powerful man.
show that way.

0
Jacques Bourgeois (James Burger)PresidentCommented:
What you describe just goes against one of the concepts of object oriented programming called encapsulation.

In a system of classes that is well designed, you should not have to know how it is designed in order to use it. You should be able to use an ojbect just by knowing its interface (list of methods and properties) without knowing how it was designed or implemented.

The only programmer who need to know somewhat about the implementation is the programmer who wants to inherit from a class and want to modify it's behaviour.

In Visual Studio, Microsoft has decided to put that information in the documentation, where it makes more sense anyway because only having a hierarchical list is not enough to do a good job when trying to change the way a system of classes works.

In the code editor, they decided to provide only the information that is really needed. It makes for a less cluttered environment, and is most useful most of the time, because most of the time, you do not need to know where a class or method comes from in order to use it.
0
CodeCruiserCommented:
VS will also show you the methods and properties from base class which have been overriden in the child class. Example of this is all the properties/methods from Control class which most other controls will show you as well.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.