all groups > dotnet xml > september 2005 >
You're in the

dotnet xml

group:

Problem with XmlSerializer


Problem with XmlSerializer jw56578 NO[at]SPAM gmail.com
9/6/2005 3:56:00 PM
dotnet xml:
When i make a call to

XmlSerializer xs = new XmlSerializer(System.Type.GetType("myobject"));
I get this error
Key cannot be null. Parameter name: key

what is the cause of this?
Re: Problem with XmlSerializer Johnas Owan
9/7/2005 11:43:08 AM

<jw56578@gmail.com> schrieb im Newsbeitrag
news:1126047360.427054.306130@g47g2000cwa.googlegroups.com...
[quoted text, click to view]

Don't use a string...use an object

XmlSerializer xs = new XmlSerializer(System.Type.GetType(myobject));

AddThis Social Bookmark Button