fixitben
asked on
Create a dynamic object
Hi
I am trying to take a string and create an object based on that.
Here is an example of what works
exchange.standardtimezone. central
Here is what I am trying to do.
dim testzone as string = "Central"
exchange.standardtimezone. + testzone
I am pretty sure this is easy. I just have never needed to do it.
Thanks
Fixitben
I am trying to take a string and create an object based on that.
Here is an example of what works
exchange.standardtimezone.
Here is what I am trying to do.
dim testzone as string = "Central"
exchange.standardtimezone.
I am pretty sure this is easy. I just have never needed to do it.
Thanks
Fixitben
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I agree with CodeCruiser. You can achieve what you want using Reflection. Here's a few more examples: http://www.csharp-examples.net/reflection-examples/
ASKER
I just went a different route. But this is definitely the way it is it done.
Thanks
Fixitben
Thanks
Fixitben
ASKER
Thanks
Fixitben