Hi, I have some base objects "Car", "dog", "cat" they implement an interface "IGWUIElement". I have a list of these interfaces: List myList.
At runtime I loop through the list of my elements and by examining the name of the class (using reflection) i need to populate their properties - which are not a part of the interface). I have an xml document descripting the propeties and the value i should assign to them. Here is my interface instantiation.
IGWUIElement newUIElement = (IGWUIElement)Activator.CreateInstance(result);
How do I go about invoking the properties from their name with a particular value (Please note datatypes are limited to int and string). Each object have different properties.
Hope this makes sense...
/H4mm3r