Just a little syntax change, but it works....thanks. <Xml.Serialization.XmlArray(), _ Xml.Serialization.XmlArrayItem(GetType(ArrayItem))> _
-----Original Message----- From: Marsh, Drew [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:58 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Bug: XML Serialization of class with Arraylist. franklin gray [mailto:[EMAIL PROTECTED]] wrote: > <Xml.Serialization.XmlArray()> _ > Public Property Array() As ArrayList You need an XmlArrayItemAttribute that tells the serializer what type of object to expect in the ArrayList and how to serialize it. So for your example try this: <codeSnippet language="VB.NET"> <Xml.Serialization.XmlArray()> _ <Xml.Serialization.XmlArrayItem(GetType(ArrayItem))> _ Public Property Array() As ArrayList ... End Property </codeSnippet> HTH, Drew You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.