Home All Groups Group Topic Archive Search About

Reflection interface

Author
22 Nov 2006 7:25 PM
A_Republican
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.

--
Regards,
Shaun

Author
24 Nov 2006 10:17 AM
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

AddThis Social Bookmark Button