Listing all properties in a class with a vb.net

Hakan
Hakan used Ask the Experts™
on
Hello,

I'm using COM-interface of third part tool in my vb.net application. I'm listing some property informations with vb.net like;

IBody is class and .mass, .length, .name is it's some of properties of IBody class but there are still other properties that i didn't list.

Now i wonder is there a way to list all properties which are belongs to that class in vb.net with their type(string, double, etc.)

I'll be glad if anyone has experience with that.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior .Net Consultant
Top Expert 2016
Commented:
you will have to use Reflection. Get an example from http://www.vb-helper.com/howto_net_list_properties.html

Author

Commented:
Thank you Mr. Moreau it took a time to adopt

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial