|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
convert a string to type for passing into a genericI'm pulling data from an xml file, one field of which is the datatype
for passing into a generic class. The problem is how to get that string from xml into a valid argument for CustomCollection<T>. Anyone know how to do this? Thanks Simon Hi,
Take a look at either AppDomain.CreateInstance or Assembly.CreateInstance -- Show quoteHide quoteIgnacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "Simon" <boliva***@gmail.com> wrote in message news:1142020781.793668.299870@u72g2000cwu.googlegroups.com... > I'm pulling data from an xml file, one field of which is the datatype > for passing into a generic class. The problem is how to get that > string from xml into a valid argument for CustomCollection<T>. > Anyone know how to do this? > Thanks > Simon >
Other interesting topics
c# CP210x Wrapper InteropServices IntPtr HandleRef problem
Increase all digits in a number(string) one step Anonymous Methods As ThreadStarts Sockets, to be continued... C# Books Refering to Object Members in A Collection in an ASP.NET BoundColu finding the current user name accessing an ASP.NET page Embedding an image in a dll Form Minimize Using using verses specifying the namespace completely. |
|||||||||||||||||||||||