Reflection interface

G

Guest

Hello

I'm trying to create a class that maps other classes. Basically I want to
pass a custom class to my class and retrieve all it's properties names and
build: lists, arrays, list view controls, etc.

Would the Reflection interface help me with this task? If so how do I go
about using it? I've tried using Reflection with no success, and it's
probably my lack of understanding of the interface, but I'm beginning to
think it can't help me accomplish the task I want.

Any advice would be helpful.
 
V

Vadym Stetsyak

Hello, A_Republican!

Search engine may be quite helpful here .
Have a look at
( http://www.codeguru.com/Csharp/Csharp/cs_misc/reflection/article.php/c4257/ )


A> I'm trying to create a class that maps other classes. Basically I
A> want to
A> pass a custom class to my class and retrieve all it's properties
A> names and
A> build: lists, arrays, list view controls, etc.

A> Would the Reflection interface help me with this task? If so how do I
A> go
A> about using it? I've tried using Reflection with no success, and it's
A> probably my lack of understanding of the interface, but I'm beginning
A> to
A> think it can't help me accomplish the task I want.

A> Any advice would be helpful.

A> --
A> Regards,
A> Shaun

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top